While working on animation feedback for the moles, I encountered a new bug where moles don't spawn anymore when launching a game.
It happened because a new line of code have been added in mole.cs, looking for renderer in child objects of the moles. If no renderer is found, it loops infinitely.
I've only added a if statement, verifying that there is indeed a renderer in the object and it fixed the bug.
While working on animation feedback for the moles, I encountered a new bug where moles don't spawn anymore when launching a game.
It happened because a new line of code have been added in mole.cs, looking for renderer in child objects of the moles. If no renderer is found, it loops infinitely.
I've only added a if statement, verifying that there is indeed a renderer in the object and it fixed the bug.
See the function in question :