Search Issue Tracker
Fixed in 2022.3.20f1
Fixed in 2022.3.X, 2023.2.X, 2023.3.X, 7000.0.0a1, future release
Votes
1
Found in
2021.3.30f1
2022.3.10f1
2023.1.15f1
2023.2.0b11
2023.3.0a8
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Player GameObject can’t be selected in the Hierarchy window during Step 4 of the "Get Started" tutorial in 2D Platformer Microgame because Hierarchy window is masked
- Gradient marker colors are removed when undoing marker movement in the Inspector Gradient field
- Crash on RendererScene::NotifyInvisible when GameObjects are deleted from the Hierarchy in a specific Scene
- "Import projects" button doesn't work in Unity Hub
- Animation is affected by TimeScale when setting Animator's updateMode to UnscaledTime in onDisable()
Add comment