- Home /
Why is the animation editor dog slow?
I've experienced this intermittently enough to draw a connection between the animation editor being extremely slow, and custom scripts in my scene. By slow, I mean it takes Unity 1-2 seconds to process every click or keystroke while in animation mode. It's very frustrating and difficult to get things done. My animations are simple, so I've just been tolerating it, but really need to get it fixed.
Has anyone else figured this one out?
As far as I can tell, Unity is choking on reading all the property channels of my scripts. If I remove all my custom components, then the animation editor is fast again. But this isn't a solution because I need the components.
re you using unity 3.5 beta? I'm using the beta and it takes like 5 seconds to process a click… I'm going crazy.
Answer by MaDDoX · May 14, 2012 at 09:46 PM
Use constraints, ie. a simple script attached to a gameobject that copies its properties to a 'target' object position/rotation/scale along time. The constrained object can then have as many complex scripts as you want. Works wonders, try it!
That is an interesting work-around. I will give it a try. Though I'm hoping Unity will optimize the animation editor so a script solution isn't necessary.
Your answer
Follow this Question
Related Questions
Adding animation clips via script 2 Answers
Efficient sprite sheet animation with Editor preview 0 Answers
Why is the Unity Editor slow and laggy on my new laptop? 4 Answers
How to play mecanim animations in Editor mode? 2 Answers
Is 2d animation better for performance over particle system? 1 Answer