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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Entering debug mode in VS take much longer than in 2019.2.

Discussion in '2020.1 Beta' started by Antypodish, Oct 21, 2019.

  1. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,225
    Entering debug mode in Unity 2020.1a with VS Community, takes much longer than in Unity 2019.2.
    Anyone experiencing as well?

    Not sure if that the case for 2019.3, but Usefulness of debug mode with VS Community is reduced to minimum now. I am better to add debug logs for that purpose.

    I hope this is just some bug, which will be resolved at later Unity iterations.

    Thx
     
  2. miniwolf_unity

    miniwolf_unity

    Unity Technologies

    Joined:
    Apr 10, 2018
    Posts:
    132
    Is this due to the fact that you switch between debug and release mode? You can change this to always be in debug mode, by going to Preferences > General and changing "Code Optimization On Startup" to Debug.
     
    Antypodish likes this.
  3. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,225
    Thx.
    I have switched recently. I should have measured times, for comparison, but to be honest, I forgot.
    Yet seems is reasonable time for now.

    Edit:
    Yep, first time it takes while.
    But after that is better.
     
    Last edited: Dec 10, 2019