Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix serialization of RigidBodySensorComponents #5780

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Aug 18, 2022

  1. Fix serialization of RigidBodySensorComponents

    The settings of `RigidBodySensorComponent`s were not getting serialized
    and saved properly before. Now they are.
    Fixes Unity-Technologies#5774
    TV4Fun committed Aug 18, 2022
    Configuration menu
    Copy the full SHA
    5e4a239 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2022

  1. Move RigidBodySensorComponent update back to end and expand RootBody …

    …null check
    
    Having the update of the internal object where it was was causing problems,
    so put it back at the end. Also, for some reason I will never understand,
    the `ReferenceEquals` check on `RootBody` was sometimes returning false
    even when it was set to `null`, so add an extra check for Unity `null`.
    TV4Fun committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    82e20a6 View commit details
    Browse the repository at this point in the history