Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2019.4
2020.3
2020.3.11f1
2021.1
Issue ID
1350554
Regression
No
Platform dependent compilation preprocessor directives are not defined correctly when running a project in the batch mode
How to reproduce:
1. Edit the path to the Unity.exe in the "case_1350554 >runCase.bat" batch script
2. Open the "runCase.bat" batch file
3. Wait until cmd closes
4. Open the "build.log" text file
5. Press "Ctrl + F" to open the search box and search for "Current Target"
6. Observe the log output after "Current Target" and "You are in"
Expected result: when the "Current Target" is "Switch" the output after "You are in" is "switch"
Actual result: when the "Current Target" is "Switch" the output after "You are in" is "standalone"
Reproducible with: 2019.4.29f1, 2020.3.16f1, 2021.1.0a5
Not reproducible with: 2021.1.0a6, 2021.1.17f1, 2021.2.0a9, 2021.2.0b7, 2022.1.0a5
Couldn't test with: 2021.2.0a1, 2021.2.0a8 (errors related to compiler)
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
- Shader Compilation for projects with lots of Shaders can be slow (i.e. VFX Graph asset heavy projects)
- The Editor hangs when opening a project that uses local packages and Version Control
- Area Light is culled when Camera Frustrum is outside the lights range
- The characters of the bottom option in the Scene View Debug Draw Mode dropdown menu are cut off
- Graph and Camera options for Render Graph Viewer disappear after maximising the window
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a6