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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Add comment