I’ve imported a mesh which has one very long animation attached, which is actually a lot of small animations split up. It amount to about 18,000 frames, if that’s important.
I’m splitting up the animations by selecting the animationclip, and editing it in the properties panel. Typing new frame numbers and names into the list take forever, and the text only updates once every five seconds or something, making it very hard to spot typos. There are a lot of animations here, so if there’s some way I can get this much more responsive, I’d love to know about it.
Nothing seems to be using up CPU time, and the scene is virtually empty, so I don’t think Unity’s actually having any performance problems. It’s just the GUI for some reason.
And when I finished the first 84 animations (which took hours with this horribly unresponsive GUI) I clicked apply, Unity crashed to desktop and I lost all that work. Awesome.
I would submit a bug report, but Unity has made a 300MB project out of a few textures and one animated character, and with my upstream, that’s just not going to fly.
Is there a better way to split animations? Perhaps there’s a script so I can avoid using the GUI altogether? I haven’t yet figured out how scripting the editor works.
Because it’s a real pain to export 140 - 250 animations (depending on exactly which ones I end up using) separately. Exporting them as one and splitting them seems to be the easiest way, particularly when I may have to do it for multiple characters. Some characters share a skeleton, but they may not all do so.
And this afternoon, I spent another four hours reentering much of the information, but for some reason when I alt-tabbed back and forth between notepad and Unity one particular time, Unity decided that I had to decide to either apply or revert my changes to the clip. I didn’t want to do either - and I hadn’t done anything which should have led it to believe that I did - so I clicked the close button, and it threw all my work away again.
I’d heard that the editor was pretty buggy, but if this is a general guide to its quality, I can definitely say that I won’t be upgrading to Pro. The amount of money it’s going to cost me in wasted hours far exceeds that $1500 ticket price.
So I’ll ask again. Is there some way to do this operation in a script and avoid the editor, since it does not seem to be suited to this purpose.
Thanks JakNine, that’s exactly what I needed. I tried writing my own in C# last night, but it was crashing the editor ~75% of the time and working perfectly ~25% of the time, so I guess I had something a bit funky in there somewhere. Yours works perfectly though.
Thanks MelMonkey, but I don’t want them as individual files.