Search Issue Tracker

Fixed in 2018.1.X

Votes

0

Found in

2018.1.0f2

Issue ID

1033474

Regression

No

2018.1.0f2 and Burst "0.2.4-preview.4" crashing Unity when assigning array values inside a delegate

Scripting

-

How to reproduce:
1. Open user-submitted project (BurstCrash.zip)
2. Open scene "SampleScene.unity"
3. Play the scene

Expected result: Burst compiler compiles a delegate successfully
Actual result: Burst compiler crashes Unity when compiling a delegate

Reproducible with: 2018.1.0f1, 2018.1.0f2, 2018.2.0b3
Could not test with: 5.6.6f2, 2017.1.3p4, 2018.2.3f1, 2017.3.2f1, 2017.4.3f1, 2018.1.0a1, 2018.1.0b13 (Burst compiler is not compatible)

Notes:
* Crash is caused by bool array value assignment in BurstCrash.cs lines 25 and 30
* Commenting those lines out prevents the crash
* Tested with Burst versions 0.2.4(preview), 0.2.3, 0.2.0

Verified in: Burst 0.2.4-preview.5

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.