Search Issue Tracker
By Design
Votes
0
Found in
2021.3.33f1
2022.3.15f1
2023.2.4f1
2023.3.0a18
Issue ID
UUM-59987
Regression
No
Errors are being thrown due to Conditional Compilation being ignored when building the Project
How to reproduce:
# Open the “Project MaNdur.zip“ project
# Open the “Scene_Rumah“ Scene
# Build and Run the project
# Observe the Console window
Expected results: The Scene is built without errors
Actual results: Building the Scene results in Console errors
Reproducible in: 2021.3.33f1, 2022.3.15f1, 2023.2.4f1, 2023.3.0a18
Reproduced on: Windows 11 Pro
Not reproduced on: No other environment tested
Notes:
* The Conditional Compilation statements seem to be correct in every script
* The Conditional Compilation statements are working correctly in Play Mode
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
Resolution Note:
The failures was because of usages of Editor only API.
Normally the UNITY_EDITOR are not added to PlayerBuilds, but the project are setting that in the PlayerSettings and because of that are failing