Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2017.1.0a1
2017.4.3f1
Issue ID
1043395
Regression
No
Building unselected platform from Build Settings window results in incorrect preprocessor defines
Reproduction steps:
1. Open the attached project "BuildFlagFromGUI.zip";
2. Open the Build Settings;
3. Select another platform than the "current" with Unity logo, f.e., iOS;
4. Select "Build" option;
5. Observe the console.
Expected results: Build will be successfully finished.
Actual results: Script in the project will detect Standalone OSX, iOS and Android will assert if they do not match.
Reproduced on: 2017.1.0a1, 2017.1.4f1, 2017.2.3p1, 2017.3.2f1, 2017.4.4f1, 2018.1.2f1, 2018.2.0b6, 2018.3.0a1.
Not reproduced on: 5.6.6f1.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment