Search Unity

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:
    18
    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.