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
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
Add comment