Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Bug [SOLVED] Random FPS drops in Editor - Editor Loop and GUIView.RepaintAll Issues

Discussion in 'Editor & General Support' started by Richard_Roth, Jul 1, 2023.

  1. Richard_Roth

    Richard_Roth

    Joined:
    Dec 29, 2014
    Posts:
    61
    I recently encountered a problem in the Editor where the FPS will drop to the single digits randomly. This only occurs in the editor and not in the build. I need some help diagnosing this issue and figuring out what is causing the problem.

    Started about a month ago and this is the first time I've ever encountered this issue. Was working fine one day, and then the next just had these random FPS drops. I've included some profiler screenshots in the attachments.

    This issue only exists in the current project. Starting a new fresh project doesn't seem to have the issue, so I'm assuming it's either some setting I've accidently changed or some asset that has modified the editor.

    Unity Version: LTS 2022.3.4f1
     

    Attached Files:

  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    4,109
    Enable Deep Profile and expand more of the methods where most of the time is spent please.
     
  3. Richard_Roth

    Richard_Roth

    Joined:
    Dec 29, 2014
    Posts:
    61
    Found the problem... The fast script reload asset had experimental functions enabled, which was causing the issue. Also updated the asset which seems to have resolved everything.