Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X

Fixed in 6000.1.0a7

Votes

4

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.