I’m having a weird problem that when i apply changes on a prefab it will change the transform positions of some of the nested children.
The problem only seems to happen to objects that are 3 or more levels deep in the prefab hierarchy.
I have tested this with Unity 2017.3.0b6 and 2017.3.0b7. This is very annoying since it completely breaks the prefab layout.
Attached is a very simple project where this problem occurs. Instructions
Open Main scene
Select “ProblematicPrefab” in the scene hierarchy
Click “apply” to apply changes to the prefab
You will notice that one of the button will be replaced to some other position and also that the button label will automatic acquire some random offset.
I actually saw this today on 2017.2. It happend only when their game object was disabled. The images would jump to another location. But I could click revert after and they would go back to the original locations I applied it at. If they were not deactivated they would not move.
I didn’t look at the scene file to see if the changes were being saved in the scene file or not.
It works fine on Unity 2017.1 and at least until 2017.3.0b4. So something after that must have broken things up.
This is really annoying and it is making impossible to edit prefabs
Any workaround for this bug? I can’t apply any changes to my UI prefabs as of now. Extremely frustrating.
I didn’t notice at first, and now most of my UI is all messed up.
I’m still seeing the issue in p2 and I also can’t see any editor fixes in the patch notes, so I’m guessing not. It’s super annoying, my UI is wrecked! Fingers crossed a fix is in p3.
This bug is driving me nuts! I’m using 2017.3.0f3 and can’t figure out how to update my complex prefabs without them breaking! The worst part is I can’t even tell if the Unity team is even paying any attention to it.
Related Links:
Issue 968969 - Incorrectlyclosed and addressed as a “Duplicate Issue” for Issue 966172, which has a priority of 2, severity of 3. If you can please vote for the issue and post a comment asking them to reopen 968969.
Issue 964111 - Closed and noted as “Fixed”, which it obviously is not. Or else, we wouldn’t be having this discussion.
Can somebody on the Unity team atleast confirm that this is being addressed?! Has anyone found a workaround?
We’re on p3 and this is still an issue. Can we get someone to earnestly fix this issue and send out a p4 soon? I have a project that is effectively dead because of this issue.
964111 is fixed. We are currently backporting the fix to 2017.3. The fix has not yet landed into the 2017.3 patch release branch yet so unfortunately I can’t give a patch version yet. I’ll post the version when I have it but keep an eye on the patch release notes for the bug number 964111 just in case it slips by me.
I discovered this only happens if the prefab is parented in a Canvas. If you simply drag it into the scene it works as intended. However, this is undesired behavior and must still be fixed ASAP.