Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feedback Prefab Variant a terrible lag bug when preview at Select in project

Discussion in 'Editor & General Support' started by FcsVorfeed, Sep 17, 2019.

  1. FcsVorfeed

    FcsVorfeed

    Joined:
    Aug 15, 2014
    Posts:
    50

    CPU:I5-9600K
    GPU:GTX1080
    RAM:16G
    Unity:2019.2f5

    when i select a prefab in project, the editor will a terrible lag

    here is the record with 60FPS,you can see what i say
    because my english is not so good,so you can see the video first

    Unity 2019.1
    Unity 2019.2
    Unity 2019.3
    all version will happen!!!!
    Only normal before the 2018.3 version of the new prefab system
     

    Attached Files:

    Last edited: Sep 18, 2019
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    People aren't going to download zip files of your video. That's a pretty common way of spreading malware. Just post a video to youtube. Also, you should mention the hardware specs of your machine.
     
  3. FcsVorfeed

    FcsVorfeed

    Joined:
    Aug 15, 2014
    Posts:
    50
    ok now i upload to youtube
     
  4. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    Yeah, it happens for me as well.
    This is probably due to some script modifying prefab while drawing inspector that causes re-saving of the prefab.

    It happens on non-variants also.

    If you can, submit a bug report for this one please. In my project prefab that bugs-out is pretty tightly coupled, so I can't send minimum repro without a lot of pain.
     
  5. FcsVorfeed

    FcsVorfeed

    Joined:
    Aug 15, 2014
    Posts:
    50
  6. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    Just upload your repro project via Help -> Report a Bug.
     
    MartinTilo likes this.
  7. FcsVorfeed

    FcsVorfeed

    Joined:
    Aug 15, 2014
    Posts:
    50
    It look like the "OnValidate” every frame is called