Skip to content

baseobject is invalid in getHeadBlendData #2434

Description

@kernkode

Description of the problem

Simply by running getHeadBlendData in the playerDisconnect event in the console it tells me "Uncaught exception: Error: baseobject is invalid", this did not usually happen before the update.

Reproduction steps

alt.on('playerDisconnect', (player: alt.Player, reason: string)=>{
   const blend = player.getHeadBlendData();
})

Expected behaviour

It is expected to work :)

Additional context

No response

Operating system

windows

Version

16.5.1 (release)

Crashdump ID

No response

Confirmation of issue's presence

  • By submitting this ticket, I affirm that I have verified the presence of this issue on the latest RC (Release Candidate) version available at the time of writing this ticket.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Class: bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions