Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.2.X, 2022.1.X
Votes
3
Found in
2021.2
Issue ID
1379504
Regression
Yes
Create Visual Studio Project Fails for Windows Desktop in IL2CPP Builds
How to reproduce
1. In a Windows editor open an existing project or create a new Unity project
2. In Build Settings set the platform to Windows
3. In Player Settings set the scripting backend to IL2CPP
4. In the Build Settings Windows check Create Visual Studio Project
5. Click Build to build the project
Expected Result: A Visual Studio solution is generated that can be built, run, and debugged
Actual Results: System.InvalidOperationException: IL2CPP doesn't support building with unityaot-win32 API compatibility level!
Reproducible with: 2021.2.0f1, 2022.1.0a15
Not reproduceable with: 2021.1 and earlier
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b8
Resolution Note (fix version 2021.2):
Fixed in 2021.2.9f1