Error in Unity5: 'Player' AnimationEvent 'RestartLevel' has no receiver! Are you missing a component? "

1

Good evening. I'm following a tutorial of a game and when I run it it works, but it soon hangs and this error appears: "'Player' AnimationEvent 'RestartLevel' has no receiver! Are you missing a component?" , the only difference that has of my game and the one of the tutorial, is that in my appears this ENTRY entity and in the tutorial does not appear. I've been browsing and it seems to be something related to the player animation, but I can not identify the error. If someone knows how to respond, please tell me.

    
asked by anonymous 22.05.2015 / 00:43

1 answer

1

With help of Luiz Vieira and looking at the sources he indicated to me, can solve the problem.

The problem was that the transition from the ENTRY state, which indicates which default state the animation should be, was connected to the wrong initial state. It was just me to change his connection from DEATH state to IDLE state that the error stopped being displayed.

    
23.05.2015 / 06:48