Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Bug Prefab Workflow Issues - Overrides are back, Undo broken, Scene hierarchy weird

Discussion in '2019.3 Beta' started by fherbst, Nov 10, 2019.

  1. fherbst

    fherbst

    Joined:
    Jun 24, 2012
    Posts:
    802
    Just submitted a bug report;
    (Case 1197599) [Prefabs] Various issues and bugs around Prefab workflow

    with at least six different Prefab issues from a single project.
    This is how a prefab should look:
    upload_2019-11-10_14-58-33.png

    Somehow, I managed to have Disconnected Prefabs in the scene despite as I understood them not being a thing anymore:

    upload_2019-11-10_14-58-59.png
    Note that the box is blue but the texts aren't.

    upload_2019-11-10_14-59-40.png
    Selecting "Overrides" shows that it is for whatever reason disconnected.

    20191110-150027.gif
    On another object, clicking "Overrides" throws a ton of NullReferenceExceptions.
     

    Attached Files:

    Last edited: Nov 10, 2019
    Peter77 likes this.
  2. fherbst

    fherbst

    Joined:
    Jun 24, 2012
    Posts:
    802
    20191110-150219.gif
    Creating a prefab and then undoing changes both hierarchy and prefab state of the object and its parent. (the jump is when I press Ctrl + Z). Also, the prefab creation is not undone (this might be by design, not sure?)

    20191110-150243.gif
    Creating a prefab out of the parent and undoing also does not undo prefab creation (again, by design?).

    20191110-150655.gif
    Clicking on "Open" on one of those disconnected prefabs is really weird, as it seems to open the original parent (?) in Prefab Isolation Mode but of course no way to actually apply changes to the object I just pressed Open on (as it is disconnected).

    20191110-151246.gif
    Going into Prefab Isolation mode throws numerous exceptions from "UnityEditor.SceneManagement.StageUtility.IsGameObjectRenderedByCamera".
    (this last one actually seems to come from the URP - "com.unity.render-pipelines.core/Runtime/Volume/VolumeManager.cs:425")
     
    Last edited: Nov 10, 2019
  3. fherbst

    fherbst

    Joined:
    Jun 24, 2012
    Posts:
    802
  4. fherbst

    fherbst

    Joined:
    Jun 24, 2012
    Posts:
    802
    Additionally, Prefab Isolation for Canvas objects is back to being entirely unusable as nothing is rendered at all.
    upload_2019-11-10_16-2-43.png
     
  5. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Thanks a lot for the bug reports. QA is working through them.
    This issue has been reproduced and is with the developers: https://issuetracker.unity3d.com/product/unity/issues/guid/1197599/
     
  6. fdefalco

    fdefalco

    Joined:
    Sep 2, 2017
    Posts:
    3
    I found that the prefab issue is related to Universal RP 7.1.5. It disappeared when I went back to 7.1.2.
     
  7. fherbst

    fherbst

    Joined:
    Jun 24, 2012
    Posts:
    802
    @LeonhardP thanks! I think the biggest blocker by far is that Isolation Mode just downright doesn't work right now as described above... this is a huge workflow issue as you can imagine.
     
  8. fherbst

    fherbst

    Joined:
    Jun 24, 2012
    Posts:
    802
    @LeonhardP I followed up on the original bug report (1197599), since we found out that the issue with Prefab Isolation can be worked around by disabling the URP Post-Processing Volume prior to entering isolation mode. Thought it's better to ping you here as well since I didn't get a reply on the original bug report yet.
     
    LeonhardP likes this.