Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
0
Found in
2018.2.2f1
2018.2.9f1
Issue ID
1085267
Regression
Yes
Complex #if Preprocessor Directives stop evaluating when a false value occurs in an OR statement
How to reproduce:
1. Open the user's attached project
2. In the Project window go to Scenes and select "TestScriptFailing" script.
Expected result: Compiler evaluates preprocessor directive correctly and compiles the code
Actual result: Compiler evaluates preprocessor directive incorrectly which means that the code is not compiled
Reproducible with 2018.2.2f1, 2018.2.12f1, 2018.3.0b5, 2019.1.0a4
Not reproducle with 2017.4.13f1, 2018.1.9f2, 2018.2.1f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Editor Window not visualizing changes when selecting different Filter Modes
- Crash on UnityEngine.Rendering.RenderPipelineAsset:InternalCreatePipeline () when opening a project
- The Texture Shape of an Image changes from 2D to a Cube when the project is upgraded to 2019 and above
- Building 3D Sample Scenes (URP) Project fails
- Alpha channel is disabled when Alpha Clip Threshold is set to 0
Add comment