Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity 3.5 asset : type == m_TransformInfo.transformType

Discussion in 'Scripting' started by sonilics, Feb 17, 2012.

  1. sonilics

    sonilics

    Joined:
    Feb 24, 2011
    Posts:
    13
    After upgraded to unity 3.5, there is a asset occurred when i run my game :

    The same code is OK in unity 3.4. I have googled it but have no hint. Did any one see this problem before?

    Update:
    I found it may caused by my avatar system, I instantiated a GameObject imported form FBX which only contains bones, mount GameObject with SkinnedMeshRenderer to a bone, then the error occurred. When i inactive mounted object the error disappeared.

    In the release note of Unity 3.5
    Is this problem related to this new features?

    Update:
    Find the reason. when the scale is negative the assert occurs.

    This problem is never occurred in Unity 3.42f, Is this a new bug of Unity 3.5?

    Anyone knows hot to fix?

    Update:
    Represent this bug in 3DPlatformTutorialStart Demo
    1. Open 3DPlatformTutorialStart project
    2. Create a empty scene
    3. Change the default animation (walk) of Lerpz to loop
    4. Drop Lerpz to scene.
    5. Attach fuelCell to anybone of Lerpz
    6. Play
    7. Change the scale x of Lerpz object between positive and negative repeatedly.
    8. The assert occurred.


    Any help would be appreciated.
     
    Last edited: Feb 19, 2012
  2. sonilics

    sonilics

    Joined:
    Feb 24, 2011
    Posts:
    13
    Updated.
     
  3. LewyUK

    LewyUK

    Joined:
    Feb 22, 2011
    Posts:
    4
    I'm wondering this too. The error I get is caused from having weapon models mounted to the bone of my characters model.

    Any idea how to fix?
     
  4. sonilics

    sonilics

    Joined:
    Feb 24, 2011
    Posts:
    13
    Not yet, still working on this problem.
     
  5. sonilics

    sonilics

    Joined:
    Feb 24, 2011
    Posts:
    13
    Update
    Find the reason, but don't know how to fix it.
     
  6. sonilics

    sonilics

    Joined:
    Feb 24, 2011
    Posts:
    13
    Update
    Represent this bug in 3DPlatformTutorialStart Demo
     
  7. hrm100

    hrm100

    Joined:
    Feb 24, 2012
    Posts:
    2
    I have just upgraded my project from 3.4 to 3.5 and am now seeing this error as well.
    I followed the idea of not changing the scale from positive to negative, and this reduced the number of times the error occurred, but I still sometimes see it when playing one animation after another - just a simple Play, and then Crossfade.
    What is the cause of this error?
     
  8. c'v

    c'v

    Joined:
    Dec 12, 2011
    Posts:
    1
    Same problem here. Any solution?
     
  9. Morv

    Morv

    Joined:
    Feb 28, 2012
    Posts:
    1
    Seriously? No responses at all?!
     
  10. lrbisolo

    lrbisolo

    Joined:
    Mar 21, 2012
    Posts:
    2
    I had this same problem with one thin plane with a 2D texture applied to it.
    The problem and the solution I've found, is setting the Scale Z to zero, instead one, this solved the bug in my case.

    Regards.
     
  11. dogzerx2

    dogzerx2

    Joined:
    Dec 27, 2009
    Posts:
    3,964
    I get that error when I mess with negative scales D-:
     
  12. richardzzzarnold

    richardzzzarnold

    Joined:
    Aug 2, 2012
    Posts:
    140
    I also have this problem after recently upgrading to unity 3.5.4..I have no negative scaling in the scene so this appear to be unrelated..
    I found that the problem was that i had an animated object parented to the skeleton. After deleting it no problem. I have found that I could reattach the animated object to the skeleton after import and it would function fine.
     
    Last edited: Aug 2, 2012
  13. michael-bartnett

    michael-bartnett

    Joined:
    Jul 8, 2012
    Posts:
    8
    Also having this problem, occurs when scaling a gameObject containing a looped animation in its children such that gameObject.localScale.x == -1f.

    This is happening for us on Windows 7, but not Mac OS 10.6/10.7. What OS are you all on?
     
  14. fangfang00

    fangfang00

    Joined:
    Feb 1, 2010
    Posts:
    8
    in my project,
    if the gameobject only has mesh Renderer, it will be ok when the scale is negative;
    but if the gameobject has skin mesh renderer ,i will get this error when the scale is negative.

    mabe the the skin mesh renderer resoult in the error.
     
  15. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    We have the same problem... Is there any progress on this issue? Has this issue been reported as official bug?
     
  16. Kid Canuck

    Kid Canuck

    Joined:
    Nov 29, 2012
    Posts:
    3
    We had this issue as well. I will post what I know, in the hopes that it helps others, as well as the workaround solution that I figured out.

    So, we were trying to scale a character with a skinned mesh renderer and some animations to -1 along the X axis. When we played the animation, it would spew errors into the console, for SOME animations. Others played OK, and I don't know enough about the difference between the ones which did and didn;t cause errors to tell you why. However, I was able to work around it using the following:

    So, trying to set the scale to (-1, 1, 1), and rotation to (0, 0, 0). I used the following, and it did not produce errors, and it looked the way I wanted it to:

    scale: (-1, -1, -1), rotation: (0, 180, 180). I assume this could be applied to other axes, but I haven;t tested.

    Good luck all.
     
  17. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    I would very much like to hear from Unity about this issue. I think everyone will agree. (but not anything like "upgrade to Unity 4.0 and everything will be ok..." like respond...)
     
  18. armoredpokey

    armoredpokey

    Joined:
    Dec 23, 2012
    Posts:
    1
    bump. I'm experiencing this problem too and would really like some kind of response.
     
  19. Wolfram

    Wolfram

    Joined:
    Feb 16, 2010
    Posts:
    254