Animation transition locks up temporarily during runtime of exe, works fine in editor
What I'm doing: I'm making a 2D game using Anima2D for skeletal or tweening animations. All of my animations are setup in Unity. I followed the workflow of this 2018 tutorial series from Unity: https://www.youtube.com/watch?v=pRMeH_sc8PI
What should happen: Character should leave "falling" animation and enter "landing" smoothly.
What happens in the editor: Exactly what is intended, a seamless and smooth looking transition.
What happens in the EXE: Sometimes a seamless transition, but usually the character locks up while trying to transition from my rising/falling blend tree at the start of the landing animation. This pause lasts for about 1 second before the landing animation registers and plays into another transition as it should. Quality settings on the launcher don't make a difference.
The inconsistency leads me to believe this is some kind of Unity bug. I have a rising/falling animation blend tree with no exit time that transitions immediately to a landing animation with exit time when the condition is set to True.
Alternatively, can someone tell me how to delete the build files so I can be sure the build is 100% rebuilt? I wonder if something bugged out in the build process and it's not recognizing changes in the editor. The reason I wonder that is because I created virtually the same looking problem early on through code and parameters. Since fixing that in the editor, new builds still lock up as if nothing was fixed so it seems like a bug in the build process to me.
Things I've tried: Quality settings, animator settings, transition settings. Closing Unity and running the build helped strangely, the lock ups were less frequent, but that didn't fix it (PC is overkill for this basic test with 32gb of ram and a 4790k).
Your answer
Follow this Question
Related Questions
Cinemachine/Timeline not playing animation on Maximize on Play 1 Answer
Problem with Mecanim Transition Preview window 0 Answers
Mecanim transition not smooth 0 Answers
Two Cloned Objects with the same Animator, only one object's transitions work 1 Answer
Animations unwanted movement and rotation after updating 0 Answers