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

IL2CPP

-

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

  1. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a12

  2. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b16

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.