This is a more general followup to my earlier bug here:
I have a project that runs fine in the editor, but crashes if I try to cook it or compile it. It also crashes if I save the project and try to reopen it without disconnecting some of my transforms first.
What appears to be the basic problem are transforms in an anime BP where two or more transforms are applied to the same bone. For example, I have a basic “stand” animation (via layered blend per bone) that might be modified (by transform (modify) bone) before it gets fed into the final animation pose.
Looking at the documentation, I don’t see anything that would prohibit modifying the same bone more than once, and running it in the editor runs fine. But it seems to be a problem for the compiler.
Another odd thing – I can sometimes get it into a state where none of the anime BP transforms are applied (everyone stands in the T pose), and if I build an app they are still in the T pose, but if I recompile the anime BP (which shows that it doesn’t need to be recompiled) it will work in the editor. It still builds with everyone in T formation, though.
There’s something really strange going on – I finally tried making a new state machine, and all it does is play the regular walking animation into the final pose, and it runs fine in the editor, but closing and reopening, or packaging it and running the app has them all in T-pose again.
This isn’t doing ANY bone blending of any kind, just playing one animation straight up into the final pose.
I’m using an ascii .fbx file exported from blender.
After more experimenting, it seems like the animation gets disassociated, somehow, from the object. I’ve found that if I temporarily change the object from “use animation BP” to “use animation asset” and back it seems to fix the build and close/reopen problems.
Going way way back in old versions, I’ve found one that doesn’t have the bug, but if I convert it from 4.6.1 to 4.7.1, it builds the app but the app crashes. I’ll try to see if I can get it to work under 4.7.1 since later versions seem to have the bug from then on.
After even more experimenting, it looks like my animation BP (parent is AnimInstance) and its children is somehow corrupted – I can’t change it into a simple animation that works, but if I make a brand new one, that works as expected.
This might not be a bug, strictly speaking, but more a bad/corrupted animation BP, though it might have been originally munged due to a bug.
Thanks for the update. I loaded the files on my Mac and followed the instructions in the Read Me file but was only able to recreate the issue described. I agree that one of your original files has become corrupt. I suggest making a copy of the original project file that still works. Opening that file, then migrating the assets to a new 4.7.1 empty project.
If they perform properly there, then migrate the remaining assets from the copied folder.