Search Issue Tracker

Fix In Review for 2022.2.X

Votes

15

Found in

2018.3.0a6

2019.1.0a1

2019.2.0a1

2019.2.0b6

2019.3.0a1

Issue ID

1165214

Regression

No

Prefab Variant Instance's Component Positions in the Inspector are inconsistent when added from inside the Prefab Mode

Scene Management

-

How to reproduce:
1. Open the "SampleScene1" Scene in the attached "ComponentPositionDidntPropagate.zip" Project
2. Double click "Canvas Variant.prefab" in the Project View to enter Prefab Mode
3. Add "Event System" and "Standalone Input Module" Component on the Prefab
4. Add a new Script as a Component
5. Save Prefab and come back to the Scene
6. Observe the "Canvas" GameObject in the Scene

Expected Behaviour: The Components are in the same place where you added them
Actual Behaviour: the Components randomly spread in the GameObjects Inspector

Reproducible with: 2018.4.3f1, 2019.1.8f1, 2019.2.0b7, 2019.3.0a8

Note: Also, moving the Components Up or Down in the Prefab Mode does not change anything - the Position is reset once you enter Prefab Mode again. Could not test on 2017.4 as there is no Prefab Mode.

Comments (4)

  1. D997b617f55d6d349b5d7dae10b80054?d=mm

    Tyrannicus100BC

    Jul 15, 2021 20:16

    To reiterate what others have said, this is absolutely not a cosmetic issue, as it influences component initialization order. This completely breaks a component system we have developed and makes prefab variants useless.

    Please fix. This is an embarrassing bug.

  2. 980ba68463b682ae1fc56bb4b29589fc?d=mm

    Mild-Mania

    Dec 16, 2020 09:36

    This issue effects the order of execution of the attached components so it leads to different behaviors than expected

  3. 721071a9aa5f6a62cf99ea8c3d01fdae?d=mm

    Tonio1308

    Dec 12, 2020 21:19

    I have to mention that it is not only a costemic issue.
    To us, it breaks our working process and best practices.
    The more things are in order, the quicker you find it.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.