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
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
Add comment