Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2021.2
2021.2.0b8
2022.1
Issue ID
1361232
Regression
Yes
IL2CPP Player crash
Reproduction steps:
1. Open the user's attached project "BugRepro.zip"
2. Go to Assets > Scenes and open "SampleScene.unity"
3. Go to Edit > Project Settings > Player > Configuration and select the "Scripting Backened" to "IL2CPP"
4. Build and run the project
Expected result: Build works with no issues
Actual result: Build crashes
Reproducible with: 2021.2.0a4, 2022.1.0a7
Not reproducible with: 2019.4.30f1, 2020.3.18f1, 2021.1.20f1
Could not test with: 2021.2.0a1, 2021.2.0a2 (Due to IL2CPP errors), 2021.2.0a3 (Editor crash while opening the project)
Notes:
- Building the project with 2021.2.0a1 and 2021.2.0a2 versions resulted in various IL2CPP errors
- Opening the project with the 2021.2.0a3 version, resulted in an Editor crash
- Mono scripting backend works with no issues
Comments (6)
-
celinedioncdc
Aug 15, 2023 09:18
It's possible that Unity has acknowledged this issue and provided additional information or workarounds.
-
cristianbailey
May 09, 2023 02:50
I too received the same error. But don't know how to handle it
-
killingodd
Apr 21, 2023 09:06
I also got the same error.
-
yearoryx
Mar 08, 2023 02:12
When build Android player with Il2CPP, it will crash but work properly with Mono build. Windows standalone player build with Il2CPP when run it, it will crash when press button to spawn hero.
-
KristinTanner
Sep 12, 2022 04:01
When running a Windows standalone player that was compiled with Il2CPP, pressing the button to spawn the hero causes the program to crash unity.com bubbleshooter3.io. They don't function correctly in the Linux and Windows server builds, but they don't crash either.
-
MichaelPerez123
Feb 21, 2022 21:29
check thos
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
- ListView fails to display items when the source list is cleared and a single element is added
- UI Toolkit ':hover' state remains active when another panel is drawn over the hovered element and Touch input is used
- Unsupported Orient modes can be selected and throw errors when using Strip VFX
- "Tab" key exits the name text field in the VFX Graph tab when renaming the Property
- Shader warnings are thrown when deleting blocks in the Ribbon VFX Graph
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a12
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b16