Search Issue Tracker
Third Party Issue
Unknown (hidden) 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X
Votes
0
Found in
2021.3.10f1
2022.1.17f1
2022.2.0b9
2023.1.0a12
Issue ID
UUM-14820
Regression
No
SerializedObjectNotCreatableException when saving after exiting Play Mode
How to reproduce:
1. Open the attached “TestingProject2” project
2. Open scene "Assets/CharlieMadeAThing/NeatoTags/Demo/Scenes/DemoScene"
3. Select “Human” in the Hierarchy
4. Enter Play Mode
5. Exit Play Mode
6. Select “File” → “Save” in the main menu bar
7. Observe the Console
Expected result: No errors appear
Actual result: “SerializedObjectNotCreatableException: Object at index 0 is null” error appears
Reproducible with: 2021.3.10f1, 2022.1.17f1, 2022.2.0b9, 2023.1.0a12
Couldn’t test with: 2020.3.39f1 (Console errors)
Reproducible on: Windows 10
Note: Error seems to be related to the Neato Tags asset
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
Hi,
This issue is caused by the Neato Tags asset.
The Neato Tags asset keeps references to TaggerDrawer scriptableobjects in his class NeatoTagAssetModificationProcessor. These objects will be destroyed when the Inpspector is reloaded and saving assets (unused asset cleanup). He is not deregistering these objects when he should (in his OnDisable()). He does call NeatoTagAssetModificationProcessor.RegisterTaggerDrawer( this ); in his OnEnable().
So you need to bring this information to the author of that asset so he can fix it, his email is:
charliemadeathing@gmail.com (see https://charliemadeathing.com/contact)