Search Issue Tracker
Active
Under Consideration for 6000.2.X, 6000.3.X
Votes
1
Found in
2022.3.62f1
6000.0.51f1
6000.1.7f1
6000.2.0b5
Issue ID
UUM-109820
Regression
No
Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/SampleScene.unity” Scene
3. Open the “/Assets/SampleScene.unity” Scene file in IDE
4. Look for “m_Modifications:”
5. Observe that it has 6 properties
6. Remove those properties and replace them with “m_Modifications: []” and save
7. Refresh the Editor for the popup to appear, and click “Reload“
8. Change anything in the Scene for it to appear dirty and save
9. Undo changes and save again
10. Observe the Scene file in the IDE
Expected result: “m_Modifications“ is not overridden
Actual result: Properties for “m_Modifications“ are overridden
Reproducible with: 2022.3.62f1, 6000.0.51f1, 6000.1.7f1, 6000.2.0b5
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- Properties can’t be edited in the Editor directly
- The driven RectTransform system serializes these properties always as zero to prevent unnecessary changes in version control, however, it still clusters the Scene file
- The RectTransform of the Canvas GameObject is being driven by its Canvas Component, which doesn't cause these Prefab overrides
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UnityYamlMerge.exe doesn't correctly handle merge conflicts in modified properties on a prefab variant
- Inconsistent color scheme in "Details" section of "Select Presets" inspector window
- Crash on __pthread_kill when launching Editor via command-line with "-disableManagedDebugger" argument
- [VFX] Deleting “New Group Node” name doesn’t allow to type or add new name
- [VFX] Creating a long Group Node name breaks nodes boarders
Add comment