Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
2018.4
2019.3
2019.3.7f1
2020.1
2020.2
Issue ID
1232157
Regression
No
IL2CPP Build freezes right after the splash screen when it was built using Visual Studio 2019 16.5.4
How to reproduce:
1. Open the attached project named "Case_1232157"
2. Open the Build Settings
3. Check if "OpenThis" Scene is included and build the project for Windows_64
4. Launch the Build
Expected result: The Build starts properly
Actual result: The Build freezes after the splash screen
Reproducible with: 2018.4.23f1, 2019.3.14f1, 2020.1.0b9, 2020.2.0a11
Notes:
1. Testing was done using VS 2017 15.0.0 and VS 2019 16.5.4
2. VS 2017 was tested with 2019.3.7f1 and the build was ran successfully, whereas VS 2019 would freeze every time
3. Building the project with Mono works as expected
Comments (1)
-
guavaman
May 07, 2020 19:03
Just to add some information, this is caused by the Visual Studio 2019 16.5 update. Specifically, it is related to the new optimizer used in VS 2019. You can disable this new compiler and continue using VS 2019 by following the directions in this post:
https://forum.unity.com/threads/neverending-il2cpp-build.855235/#post-5703478
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
This is a bug with the Visual Studio 2019 compiler. We have submitted this bug report to Microsoft for the issue:
https://developercommunity.visualstudio.com/content/problem/1021935/visual-studio-2019-miscompile-in-release-build.html
To work around the issue, uninstall Visual Studio 2019 and use Visual Studio 2017.