Search Unity

Editor Showing an Error (and won't run game) for compiler Warnings

Discussion in 'Editor & General Support' started by Radiangames2, Sep 28, 2015.

  1. Radiangames2

    Radiangames2

    Joined:
    Aug 22, 2012
    Posts:
    45
    This thread shows the same/similar problem:
    http://forum.unity3d.com/threads/so...-time-warnings-as-compile-time-errors.303451/

    And it correctly identifies Dropbox as a possible culprit. However, I have a co-worker is experiencing this frequently while working on a non-Dropbox folder. He'll commonly see the error: "All compiler errors have to be fixed before you can enter playmode", but the error listed is a warning. There is no actual error in the code.

    To "fix" the compiler error, you just have to change a random character (like add a space) and switch back to Unity to get a quick re-compile.

    This problem seems to happen more frequently when you quickly change from Visual Studio to Unity and try to run the game right after changing script/code.

    Even if this is a legitimate issue (the DLL file is locked by another process), perhaps it can be detected correctly and attempt to compile once the file is no longer locked? Would be much better than the current behavior.

    Thanks,
    Luke
     
  2. MrCrowe626

    MrCrowe626

    Joined:
    Sep 25, 2016
    Posts:
    1
    I am having the same issue. I am new to all this game creation stuff so when I open the scripts I feel like my brain is gonna melt. But I cant move forward in creation without this being fixed. You wouldnt happen to know of a solution or fix would you?