Search Unity

Bodies Fall Only when selected in Editor??

Discussion in 'Editor & General Support' started by renman3000, Sep 23, 2020.

  1. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
    Hi there,
    I have recorded some video from my phone, to show an oddity.

    I have a number of rigged, animators, with root motion, each with a collider, rigidbody, that uses gravity and no kinematic.

    What I am experiencing is that, at run, these bodies, float up, ignoring gravity. However, when I select them via the inspector (still during run time) they then accept gravity, and fall.
    Any ideas???
    Thank you


     
  2. DiegoDePalacio

    DiegoDePalacio

    Unity Technologies

    Joined:
    Oct 28, 2009
    Posts:
    507
    Hi @renman3000,

    This is weird... Are you able to reproduce the bug in a simplified scene (maybe in a new empty project) with only one of the characters?

    Is there any useful message coming out to the Unity's Console?

    Do you have any Editor script running some functionality on the OnSelectionChange method?

    The answers to these questions will help us to determine better why you're having such an issue and therefore to help you better.


    Thanks!