When I build the game it goes to the title screen normally, actually, all scenes are working fine except the last one with a boss battle. The game freeze and doesn’t respond.
During my speculation of the problem (and this took several days) deactivating objects and components I’ve find out that if I delete the animator’s last boss the game responds normally, which is something I’ve never seen before
This is my animator’s boss, honestly I dont think it has too much animations.
With logic driven from animations and especially with callbacks from animations, timing can be especially critical.
If you rely on callbacks from particular animations or animator states, that’s always a good place to start putting in some logging to find out if they are firing in an unusual order or failing to fire or something.
Sometimes you can aggravate it and make it fail right in the editor by setting Time.timeScale higher, like to 2.0 or 3.0 or whatever.
It has some events in it but nothing, activating another animation, the events are linked to activating game objects or something else, I don’t think this is the case :(:(