Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Posing of a model resets when the parent GameObject is disabled/enabled

Discussion in 'Editor & General Support' started by AtomicLugia, Dec 27, 2022.

  1. AtomicLugia

    AtomicLugia

    Joined:
    Aug 15, 2020
    Posts:
    54
    When I pose a character (rotating the bones) and then when I disable & enable the parent GameObject (the one containing the armature and the model) after that, the posing is reset. I'm sure that not only the posing of bones is affected by this bug. This can get very annoying and even disastreous.

    This should be fixed immediately.

    A "workaround" for now I found is to save the scene and then disable/enable the GameObject. The pose is still reset, however, when you reload the scene, the desired pose is loaded.

    HOW TO REPRODUCE:
    - Place a model with armature
    - Go to the armature of the model and pose several bones (rotate, etc.)
    - Disable the model GameObject (the one containing the armature with the bones)
    - Enable the model GameObject
    - The pose should be reset as if you didn't pose it at all

    Unity 2020.3.43f1 Personal
    URP 10.10.1
    Windows 11 Home 22H2 22621.963
     
  2. chemicalcrux

    chemicalcrux

    Joined:
    Mar 16, 2017
    Posts:
    654
    You probably have an animator on the model. The animator will reset the pose of the model when the GameObject becomes active.

    If you want to just pose an armature, and do not want to animate it, you can just remove the animator. Otherwise, you should make an animation for that pose (either in the editor or in your 3D modeling program).
     
  3. AtomicLugia

    AtomicLugia

    Joined:
    Aug 15, 2020
    Posts:
    54
    Ah, alright! That solved the issue. But it's still weird, this never happened before and they all had Animators. The version I used before was 2020.3.23f1.
     
  4. AtomicLugia

    AtomicLugia

    Joined:
    Aug 15, 2020
    Posts:
    54
    I still think that this needs to be addressed since models with armature all have an animator enabled by default and one little oversight can basically make it loose all your progress in posing