Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Votes

0

Found in

2021.2.0b7

2022.1.0a2

2022.1.0a7

Issue ID

1365032

Regression

Yes

[IL2CPP][HDRP] Crash when opening the player made with IL2CPP Faster builds

IL2CPP

-

Reproduction steps:
1. Create a new HDRP project
2. Go to Player Settings -> Scripting backend -> IL2CPP
3. Go to Build Settings -> IL2CPP Code Generation -> Faster (smaller) builds
4. Build and run the SampleScene

Expected result: Build opens and runs the selected scene
Actual result: Player crashes when opening

Reproducible with: 2021.2.0b7, 2021.2.0b14, 2022.1.0a2, 2022.1.0a11
Not reproducible with: 2021.2.0a17, 2021.2.0b6, 2022.1.0a1
Could not test with: 2019.4.31f1, 2020.3.19f1, 2021.1.23f1, 2021.2.0a16 (Faster (smaller) builds is not available)

Notes:
Not reproducible with "Faster runtime" setting
Not reproducible with Mono
Not reproducible with 3D/2D template and URP builds

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a12

  2. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.1f1

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.