Skip to content

NRE whenever SS2 executioner emotes #25

@LordVGames

Description

@LordVGames

probably because of the new model because the error points to trying to remove his gun

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
EmotesAPI.CustomEmotesAPI.Changed (System.String newAnimation, BoneMapper mapper) (at /home/nunchuk/emotesapi/CustomEmotesAPI/CustomEmotesAPI/CustomEmotesAPI.cs:494)
BoneMapper.PlayAnim (System.String s, System.Int32 pos) (at /home/nunchuk/emotesapi/CustomEmotesAPI/CustomEmotesAPI/AnimationReplacements.cs:1261)
BoneMapper.PlayAnim (System.String s, System.Int32 pos, System.Int32 eventNum) (at /home/nunchuk/emotesapi/CustomEmotesAPI/CustomEmotesAPI/AnimationReplacements.cs:1033)
SyncAnimationToClients.OnReceived () (at /home/nunchuk/emotesapi/CustomEmotesAPI/CustomEmotesAPI/SyncAnimationToClients.cs:54)
R2API.Networking.Interfaces.NetMessageExtensions.Send (R2API.Networking.Interfaces.INetMessage message, R2API.Networking.NetworkDestination destination) (at <68146df4ec744a289831ef2578646242>:IL_0008)
SyncAnimationToServer.OnReceived () (at /home/nunchuk/emotesapi/CustomEmotesAPI/CustomEmotesAPI/SyncAnimationToServer.cs:61)
R2API.Networking.Interfaces.NetMessageExtensions.Send (R2API.Networking.Interfaces.INetMessage message, R2API.Networking.NetworkDestination destination) (at <68146df4ec744a289831ef2578646242>:IL_0008)
EmotesAPI.CustomEmotesAPI.PlayAnimation (System.String animationName, System.Int32 pos) (at /home/nunchuk/emotesapi/CustomEmotesAPI/CustomEmotesAPI/CustomEmotesAPI.cs:397)
EmotesAPI.CustomEmotesAPI.Update () (at /home/nunchuk/emotesapi/CustomEmotesAPI/CustomEmotesAPI/CustomEmotesAPI.cs:645)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions