#~ has no receiver error

1 messages · Page 1 of 1 (latest)

scenic zealot
#

The sentences might be awkward because I used a translator.

Hello,
I am currently trying to integrate this asset into a multiplayer game project I have been working on. While doing so, I encountered a problem, which is as follows:
The remote player character is created as a different prefab than the local player character. This prefab is a modified version of the one from the demo. One of the modifications included changing the anim event receiver of the IKRig. Since the remote player's character does not need a staged state, etc., I created AnimEventReceiver_Dummy reflecting such modifications and added it to the prefab, and deleted the original AnimEventReceiver.
After doing this, the following error occurs:
'IKRig' AnimationEvent 'ResetStagedState' on animation 'C_AK12_ReloadEmpty' has no receiver! Are you missing a component?
It seems to me that the C_AK12_ReloadEmpty animation is supposed to trigger the RefreshStagedState of AnimEventReceiver, but the issue arises because it cannot find it. If that's the case, could you tell me how to modify the trigger?

little pivot
scenic zealot
#

Understood. Thank you for the answer!!

Out of curiosity, I have one more question. I looked through the code and Unity editor, but I couldn't understand how the reloading animation is related to ResetStagedState function. Through what process does ResetStagedState get called during reloading?