5
I’m following all the steps of a tutorial on the creation of the game Nightmare, videos made by the channel "Playing with Nils", but after following all the steps, when I run the game and then I kill the Zombunny (an enemy), instead of him dying and disappearing from the game, he just stands on the screen and appears this error:
'Zombunny' Animationevent 'Restartlevel' has no receiver! Are you Missing a Component?
Can someone help me solve?
You can edit your question and put the link to the tutorial?
– Leonel Sanches da Silva
It seems that the enemy object does not have a code component that would need to receive such an event. Have you checked this? Also, do as suggested by colleague @Ciganomorrisonmendez: post the tutorial video (and indicate the minutes of the video where this part is held). If you don’t make it easy, no one will be interested in helping you. P.S.: This also goes for your other question.
– Luiz Vieira
It seems that the Portuguese tutorial is here https://www.youtube.com/playlist?list=PLa2bQ5uCFWA1RNqmaQIAWiq5HiWUGATyC, taken from the Unity http://unity3d.com/learn/tutorials/projects/survival-shooter.
– Marcus Vinicius
Just for the record, another question was created with "potentially" the same problem: http://answall.com/questions/65331/erro-no-unity5-player-animationevent-restartlevel-has-no-receiver-are-you
– Luiz Vieira