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
  4. Dismiss Notice

Inspector gets stuck when Recompiling during Play mode

Discussion in 'Editor & General Support' started by rasto61, Dec 14, 2019.

  1. rasto61

    rasto61

    Joined:
    Nov 1, 2015
    Posts:
    352
    The inspector gets stuck on whatever was last selected when you make changes to code and go back to the editor while in play mode.

    I noticed this I think first in 2018.4.11(not sure if earlier) and was hoping it would not happen in .14, but still is.
    I have recompile after finished playing set.
    Is this a new 'feature' or a bug?
     
  2. Swordopolis

    Swordopolis

    Joined:
    May 9, 2016
    Posts:
    1
    I also had this issue on 2019.3.10f. I needed to restart to clear it.
     
  3. Asahi_Gaby

    Asahi_Gaby

    Joined:
    Oct 22, 2015
    Posts:
    1
    I also had this issue on 2019.4.4f1
     
  4. galwpsite

    galwpsite

    Joined:
    Aug 6, 2020
    Posts:
    1
    I have same issue, any fix?
     
  5. TS-Trooper

    TS-Trooper

    Joined:
    Apr 30, 2019
    Posts:
    15
    Same issue on 2019.4.18, but only on one specific project.
    Changing the setting in preferences to stop playmode befroe recompile doesn't work.

    When testing that in a different MUCH smaller project I noticed that unity secretly already starts the compilation.
    I had a simple behaviour with a commented debug.log in the update() method. When I pressed play, went into the script and uncommented that debug.log line and return to unity I would see the debug.log already once! so it seems like unity does a recompile to some extent even witht that stop playmode setting.

    I have tried:
    a unity reinstall
    reimport of all assets
    library folder removal

    None of these work.