Search Unity

2D Animation Bones Acting Weird

Discussion in '2D Experimental Preview' started by matrikasaTR, Jan 17, 2019.

  1. matrikasaTR

    matrikasaTR

    Joined:
    Jan 5, 2019
    Posts:
    4
    So ive been trying to implement bone animation to my character but it just keeps acting weirdly.

    So my problem is when im done with creating all the bones and weights etc. the animation window makes my character act weird. I can control the bones in scene view nice and neat but when it comes to making animation, rotating one bone or moving the animation 1 seconds later just makes all of the bones rotate and move randomly. Also their Z rotation changes to a very very high value like 8000 or -9000.

    I also got an error message on console while i was trying to fix this issue. The error goes:

    Sprite "Character" contains bone weights which sum zero or are not normalized. To avoid visual artifacts please consider fixing them.
    UnityEngine.GUIUtility.ProcessEvent(Int32, IntPtr)

    I know this is a preview package but i really need to use it. Is there a way to fix it? Or can i use any other free alternatives to this package?
     

    Attached Files:

  2. matrikasaTR

    matrikasaTR

    Joined:
    Jan 5, 2019
    Posts:
    4
    Alright guys if anyone else is having this issue i just changed the netframework version to 3.5 from 4.x and it just god fixed.
     
  3. Leo-Yaik

    Leo-Yaik

    Unity Technologies

    Joined:
    Aug 13, 2014
    Posts:
    162
    This usually means that you have remove a bone association with from a Sprite and the weights of some of the vertices are not normalized. To fix this, you will either need to manually repaint the weights or generate them. We will look into a way to automatic resolve this issue.
     
  4. Sergi_Valls

    Sergi_Valls

    Unity Technologies

    Joined:
    Dec 2, 2016
    Posts:
    183
    Hi, please could you share a video of the issue? Also please file a bug using the "Help -> Report a Bug..." Menu. Thanks!
     
  5. Hao-Cheng-Lee

    Hao-Cheng-Lee

    Joined:
    Nov 28, 2016
    Posts:
    2
    I got same issue...
    How should I fix it???
    upload_2019-6-11_11-57-43.png
     
  6. Leo-Yaik

    Leo-Yaik

    Unity Technologies

    Joined:
    Aug 13, 2014
    Posts:
    162
    This probably means you have removed a bone from a Sprite and the weights are not normalized properly. You can try by going back to the tool and regenerate the weights
     
    Hao-Cheng-Lee likes this.
  7. Hao-Cheng-Lee

    Hao-Cheng-Lee

    Joined:
    Nov 28, 2016
    Posts:
    2
    @Leo-Yaik Thank you for your teaching I fix it already