Search Unity

Prefab editing, scene view does not show the prefab but actual scene ?

Discussion in 'Editor & General Support' started by castor76, Feb 28, 2020.

  1. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    I am not sure when and why this happens, but sometimes when I try and edit my prefab the scene view does not show the prefab content, but just regular scene content.

    When this happens, I can see that I am in prefab editing mode because everything else looks ok, the hierarchy shows the prefab content only etc.

    Only way to fix this is to restart Unity or (not 100% sure) but close scene view and open it up again.

    Has anyone had similar issue? This is kind of bug that is difficult to constantly reproduce, because well.. if you restart Unity, it works as normal. So sending bug report is not going to help..

    So weird and annoying...

    Using Unity 2019.3.3f1 but I am pretty sure that I saw this happening in 2019.3.1 and 2019.3.2 as well.
     
  2. MSplitz-PsychoK

    MSplitz-PsychoK

    Joined:
    May 16, 2015
    Posts:
    1,278
    Go to [Edit -> Project Settings -> Editor], and there is a field where you can set which scene is in the background while you are editing prefabs. Just remove the scene so the value is "None", and you will have an empty scene while you edit prefabs.
    upload_2020-2-28_15-56-22.png

    If that doesn't work, it's probably worth a bug report.
     
    dwolonkiewicz and PraetorBlue like this.
  3. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    Thanks. Strange. The fact that I never knew this existed means I have never set them. But will check it first anyway.
     
  4. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    I have checked and the prefeb editing environments were not set. They are empty.

    So... this seems like a bug.. I don't even know how to reproduce it.. it just happens suddenly sometimes.. I have to close scene view and reopen it to make it work again. Super annoying...
     
  5. MSplitz-PsychoK

    MSplitz-PsychoK

    Joined:
    May 16, 2015
    Posts:
    1,278
    I wonder if the issue would go away if you make an empty scene and set it as your prefab-editing scene.
     
  6. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    I just tried this, but it does not work...
     
  7. OldKing_Wang

    OldKing_Wang

    Joined:
    Jan 25, 2015
    Posts:
    46
    same issue in 3.4f1, and 3.3 and 3.2.

    it's really annoying bug. the reason i upgrade Unity so often is that hope new version can fix it.

    i found a post mentioned the same issue ,and it said the bug some how related to DOTs, so i try to upgrade my

    - Burst to 1.3.0 preview.9
    - Entities to 0.7.0 preview.19.

    no luck with that.

    the last version Entities is 0.8.0 preview but it's not fit my plugin. so i can't try that version.
     
  8. Kamyker

    Kamyker

    Joined:
    May 14, 2013
    Posts:
    1,091
    Also happens for me sometimes, reopening Scene window fixes the issue.

    Unity 2019.3.10
     
    Last edited: Apr 29, 2020
    Dziobaq likes this.
  9. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    This is still not fixed for Unity 2019.3.13f1

    This is REALLY annoying bug. Please fix!
     
  10. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    Do you have link to the post that you found?
     
  11. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    I have actually reported this as a bug : case 1248712

    This has to be fixed, I can't close scene view and reopen every time I edit a prefab!