Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.4
2020.3
2021.1
2021.2
2021.2.0b7
2022.1
Issue ID
1357769
Regression
No
Unable to build the project on selected Platform when that Platform module was installed while the Editor is opened
How to reproduce:
1. Create a new Unity project
2. Open the Build Settings (File->Build Settings...)
3. Select a Platform that is not installed
4. Press "Install with Unity Hub" (or "Open Download Page" to get an executable download file and install the module using that)
5. Switch to the newly installed Platform
Expected results: You can Build the project on the newly installed Platform
Actual results: You can not Build the project on the newly installed Platform
Reproducible with: 2019.4.30f1, 2020.3.18f1, 2021.1.21f1, 2021.2.0b12, 2022.1.0a9
Notes:
- Restarting the Editor fixes the issues and you can Build the project on the newly installed Platform
- The issue is reproducible with every Platform module
- Pressing File->Build And Run will throw "UnityException: Build target [Chosen Platform] not supported" error
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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note:
Platform module registration occurs on Editor startup only. The editor will need to be restarted after installing new platforms.