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

Bug: Capability SO fails to render when Multisensor is added but left empty #306

Closed
sima995 opened this issue Nov 19, 2024 · 1 comment · Fixed by #309
Closed

Bug: Capability SO fails to render when Multisensor is added but left empty #306

sima995 opened this issue Nov 19, 2024 · 1 comment · Fixed by #309
Labels

Comments

@sima995
Copy link

sima995 commented Nov 19, 2024

Describe the bug
Capability SO fails to render when Multisensor is added but left empty

Steps to Reproduce
Steps to reproduce the behavior:

  1. Create a new Capability SO
  2. Click the plus sign on the multisensor but leave the class empty
  3. Switch to something else for the inspector to render
  4. Switch back and observe an empty inspector with a null reference at SensorList.cs:99.

Unity Version
2022.3.46

Package Version
3.0.23

@sima995 sima995 added the bug label Nov 19, 2024
@sima995
Copy link
Author

sima995 commented Nov 19, 2024

When you click the plus sign to add a new multisensor the same null ref is thrown. I guess it tries to grab the sensor for the keys to render in the inspector but it's null at that moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant