Search Issue Tracker
Fixed in 0.18.x
Votes
0
Found in [Package]
0.11.0-preview.7
Issue ID
1250685
Regression
No
[Platforms] BuildConfiguration fails to switch platform target before building
How to reproduce:
1. Open the attached 'project-1250685.zip' project
2. Make sure you have Linux build support module
3. In the Build Settings observe the Target Platform (should be Windows)
4. In the Project window select 'LinuxBuildConfig'
5. In the Inspector window select 'Build'
6. Wait for the process to finish and observe the Console window
Expected result: Build finishes successfully
Actual result: Build fails (since the wrong 'Target Platform' was selected in the Build Settings)
Reproducible with: 2019.3.15f1, 2020.1.0b10, 2020.2.0a13
Could not test with: 2018.4.23f1 (Platforms package not available)
Platforms package version: 0.4.0-preview.1, 0.4.0-preview.5 (could not test with older versions due to compatibility issues)
Entities package version: 0.11.0-preview.7 (could not test with older versions due to compatibility issues)
Notes:
1) The right platform is switched before the build fails, therefore building again will succeed
2) 0.4.0-preview.2 version does not seem to switch the target platform at all when a build fails
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 warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 0.18.x):
This is no longer reproducible due to "Active build configuration" dropdown in the latest Entities package.