Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2018.3.0a11
2018.4
2019.2
2019.2.6f1
2019.3
2020.1
Issue ID
1195283
Regression
Yes
Scene needs to be saved twice when creating an instance of a Prefab having a Layout Group component and a child UI GameObject
How to reproduce:
1. Open the attached project "1195283.zip"
2. Create an instance of the "test" Prefab in a scene
3. Notice that the scene is marked as dirty
4. Save the scene
Expected result: Scene is no longer marked as dirty
Actual result: Scene is still marked as dirty
Reproducible with: 2018.3.0a11, 2018.3.14f1, 2018.4.13f1, 2019.2.13f1, 2019.3.0b12, 2020.1.0a14
Not reproducible with: 2017.4.35f1, 2018.3.0a10
Notes:
The issue is reproducible with any Layout Group component added to the parent GameObject.
The issue is reproducible with Image, Raw Image or Text component attached to the child GameObject.
The issue does not reproduce when creating an instance of a Prefab created in an unaffected Unity version.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
FoxRaccoon
Sep 30, 2022 11:11
Happens in 2021.3.5f1 and is super annoying with version control, giving twice the amount of work to developers and reviewers when prefabs are included because they have to either remove the changes which are irrelevant or ignore them during the review, but this takes a lot of time.
anthony_unity59
Aug 29, 2022 15:52
This still happens in 2021.3.7f1
spacepluk
Jan 18, 2022 13:16
This still happens on 2021.2.8f1