1. What happened
- Running a game built with IL2CPP crashes the game immediately after being run (but after Unity logo being shown).
2. How can we reproduce it using the example you attached
-
Create a Unity project.
-
Assign a render pipelines (URP or HDRP).
-
Set ‘Scripting Backend’ under ‘Other Settings’ inside ‘Player Settings’ to IL2CPP.
-
Go to ‘Build Settings’ and set ‘IL2CPP Code Generation’ to ‘Faster (smaller) builds’.
-
Hit ‘Build’ and then run the game, or hit ‘Build And Run’ to run it immediately.
Expected Result: Game runs as expected.
Actual Result: Game crashes immediately after Unity logo is shown.
I reported this issue in “Unity 2021.2.0b15” and “Unity 2021.2.0b16”.
However, when I go to “FogBugz” to track my issue, I cannot find my report I wrote, it’s just blank. If anyone know what is the issue, please, let me know! Any help is much appreciated, thanks.
Blank [spoiler]https://ibb.co/4NKtCWV[/spoiler]