I’ve been working on a brawling game that uses the 2D Animation system for the characters as well as the PSD importer to import characters as PSB files. In our game, character prefabs are instantiated at the start of the game (when the level scene is loaded). While everything works fine in the editor, issues arise when playing in a build. The first playthrough of a level works fine, but then after reloading the level scene from the main menu, the characters do not animate. I’ve tried monitoring the console in a development build and have resolved all of the errors that it showed, yet nothing has changed.
The only clue I have is that the animations all have animation events in them that still trigger at the correct times, so the animations are still “playing”, leading me to believe that reloading the scene has caused bone references to be lost in the sprite skin components in my prefabs. Does anyone have any experience or fixes for this?
Thanks!