Search Issue Tracker
Fixed in 2021.3.29f1
Fixed in 2021.3.X, 2022.3.X, 2023.1.X, 2023.2.X, 2023.2.0a9
Votes
0
Found in
2021.3.5f1
2022.2.10f1
2023.1.0b7
2023.2.0a7
Issue ID
UUM-16963
Regression
No
[Undo] OnRectTransformDimensionsChange is not called on Undo in prefab variant
How to reproduce:
1. Open the project from the Google Drive link
2. Add the "Panel - OnRect..." Prefab and its variant into the Scene
3. Open the "Panel - OnRect..." Prefab in Prefab Edit mode
4. Change the child "Panel" GameObjects Transform value
5. Revert Changes with CMD+Z and note the logged messages in the Console window
6. Open the "Panel - OnRect... Variant" Prefab Variant in Prefab Edit mode
7. Change the child "Panel" GameObject's Transform value
8. Revert Changes with CMD+Z and note the logged messages in the Console window
Expected result: "OnRectTransformDimensionsChange Panel" is called regardless
Actual result: Prefab Variant does not print "OnRectTransformDimensionsChange Panel"
Reproducible with: 2020.3.41f1, 2021.3.12f1, 2022.1.21f1, 2022.2.0b13, 2023.1.0a16
Reproducible on: macOS Monterey 12.6 (Intel)
Note: On a new project it is reproducible but both with Variant Prefab and normal Prefab
Note: Reproducible on Windows 10 for both Variant Prefab and normal Prefab
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
- Black square “shadow” artifacts visible when using Screen Space Reflections without maximum smoothing
Add comment