We've just upgraded to Unity 3.5 and now we're seeing the following error occurring when some character animations are playing (the animations themselves play successfully):
type == m_TransformInfo.transformType UnityEditor.DockArea:OnGUI()
The interesting part is that it only occurs for a handful of the animations that we're using, even though they were all produced using the same pipeline. Sometimes it happens once or twice for an animation, and then not at all when run the next time. Sometimes it happens on every update for a specific animation. Plus, as I mentioned, we didn't have this error at all in Unity 3.4.
I read here: http://forum.unity3d.com/threads/123780-Unity-3.5-asset-type-m_TransformInfo.transformType about the possibility that flipping back and forth using scale = -1 may cause some errors, so we eliminated that but it did not fix the issue.
What is this error?
I have the same problem here. Its seems random.
@jaroslavstehlik: this is not an answer to the question, so please don't post it as answer.
I've converted your answer into a comment.
This seems to be an editor-only assertion. Nevertheless, it could prove to be annoying if you wanted to trap other errors (and subsequently pause the game when one occurs). Have you found a way to get rid of this message? I myself would like to know :D
Answer by Wolfram
Feb 09, 2013 at 09:12 PM
This assertion seems to be happening when an object with an Animation component has unusual scale settings (e.g., 0) for at least one axis (either itself or one of its parents).
As it doesn't seem to break the functionality of the Animation, it may be ignored - but then it will keep spamming your console/error log, which might cause performance issues.
Instead, you might want to make sure that the scale is never 0 on any axis (you could set it to 0.00001 or something), or that you also disable the object if you are scaling it to 0.
Hi Wolfram, I'm eager to try your suggestion. Have any others worked on this?
I Have tried this solution but to no avail. I'm having the problem on a model with animations which I'm scaling over time from 1 to -1. There are two moments on which I get the error.
1: When the coroutine goes from 0 to -1 (or even clamped from -0.3 to -1) 2: If I play any animation while the model is scaled to -1 (or scaled to anything below 0).
The animations are all playing without a problem though.. but the performance drops drastically in editor (not in build).
Answer by AmegamiBy
Dec 11, 2013 at 04:41 PM
We have solved same problem by reseting rotation of instanced particle system. Error happened to us, if parent object where PS is instancing have any negative scale.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
10 People are following this question.
Add animation to a NavMeshAgent Character
Can I make animations snap to a frame?
How to select an animation clip by index number?
Can the animation editor create local rotational data?
Adding animation clips via script