Search Issue Tracker
Fixed
Fixed in 2021.3.47f1, 2022.3.55f1, 6000.0.31f1, 6000.1.0a7
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
ankofl_dev
Jan 31, 2025 17:21
I still get a similar error when loading the build profile.