Search Issue Tracker

Fixed

Fixed in 2022.3.20f1, 2023.2.9f1, 2023.3.0b5, 7000.0.0a1

Votes

1

Found in

2021.3.30f1

2022.3.10f1

2023.1.15f1

2023.2.0b11

2023.3.0a8

7000.0.0a1

Issue ID

UUM-53904

Regression

Yes

Redo doesn't restore all ScriptableObjects when they are added using "AssetDatabase.AddObjectToAsset"

--

-

How to reproduce:
1. Open the attached “SORedoUndo.zip“ project
2. Select the "BaseScriptableObject" asset
3. In the Inspector press "Add 3 Children"
4. Press “CTRL” + “Z” and “CTRL“ + “S“ (undo and save)
5. Press “CTRL” + “SHIFT“ + “Z” and “CTRL“ + “S“ (redo and save)

Expected result: All three child ScriptableObjects re-appear and are linked
Actual result: Only one child ScriptableObject that re-appears is linked

Reproducible with: 2021.2.0a9, 2021.3.30f1, 2022.3.10f1, 2023.1.15f1, 2023.2.0b11, 2023.3.0a8
Not reproducible with: 2021.2.0a8

Reproducible on: macOS 14.0 Sonoma (Intel)
Not reproducible on: No other environment tested

Note: Sometimes none of the children re-appear and are named “Type mismatch“ in the "BaseScriptableObject" asset Inspector

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.