Skip to content

Conversation

@TV4Fun
Copy link

@TV4Fun TV4Fun commented Aug 18, 2022

Proposed change(s)

The settings of RigidBodySensorComponents were not getting serialized
and saved properly before. Now they are.
Fixes #5774

Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)

Types of change(s)

  • Bug fix
  • New feature
  • Code refactor
  • Breaking change
  • Documentation update
  • Other (please describe)

Checklist

  • Added tests that prove my fix is effective or that my feature works
  • Updated the changelog (if applicable)
  • Updated the documentation (if applicable)
  • Updated the migration guide (if applicable)

Other comments

TV4Fun added 2 commits August 17, 2022 17:47
The settings of `RigidBodySensorComponent`s were not getting serialized and saved properly before. Now they are. Fixes Unity-Technologies#5774
…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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant