- Home /
PreProcessor Directives have suddenly stopped working
I am working on a project that requires directives for compiling for iOS, OSX and Android and all of a sudden even the most basic #if UNITY_EDITOR is refusing to be picked up. I used MonoDevelop and i've resync'd and rebooted numerous times but the project suddenly seems out of sync with unity. I am clearly in Mac mode in the build settings but #if UNITY_STANDALONE_OSX along with all the other directives remain blanked out
Has the Active Configuration been changed from Debug to Release?
Bingo, not sure how that got changed, thanks very much fella, good spot
Your answer
Follow this Question
Related Questions
Preprocessor #defines and Conditional compilation in scripts 0 Answers
Why do placing a preprocessor directive inside another causes my script to lose proper indentation? 1 Answer
How do you change an asset's import settings at creation? 0 Answers
Which requirements are available for SHADER_REQUIRE and SHADER_AVAILABLE? 0 Answers
UNITY_EDITOR block produces compile error for Web builds 0 Answers