Search Issue Tracker
Fixed in 2021.3.47f1
Fixed in 2021.3.X, 2022.3.X, 6000.0.X, 6000.0.31f1, 6000.1.X
Votes
5
Found in
2021.3.44f1
2022.3.50f1
6000.0.22f1
Issue ID
UUM-84568
Regression
No
“You may not pass in objects that are already persistent” error is thrown when calling Save() on ScriptableSingleton inside OnValidate()
Reproduction steps:
1. Open the attached “BugRepro” project
2. From the menu navigate to SingletonTest > Log
3. Observe the Console window
Expected result: No errors are thrown
Actual result: “You may not pass in objects that are already persistent” error is thrown
Reproducible with: 2021.3.44f1, 2022.3.50f1, 6000.0.22f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Comments (1)
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
- Unused separation line is used in the Prefab Context Menu when right clicking child Prefabs
- Editor freezes indefinitely when copy pasting a lot of characters in the UI Builder’s “Add new selector” field
- Detached Audio Source is not released from browser memory when Audio stops playing in WebGL Player
- "Canvas.pixelRect" and "Canvas.renderingDisplaySize" report 640x480 when Device Simulator window is unfocused after reopening the project in the Editor
- Incorrect indices when using Graphics.RenderPrimitivesIndexedArgs[] with Graphics.RenderPrimitivesIndexedIndirect
ankofl_dev
Jan 31, 2025 17:21
I still get a similar error when loading the build profile.