Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.2.0b5

Issue ID

1047591

Regression

No

[Burst] Compiler compilation failure when a job calls UnsafeUtility.IsBlittable<int>()

Scripting

-

To reproduce:

1. Download attached project "ecs-rts.zip" and open in Unity
2. Open "SampleScene" scene
3. Press Jobs > Burst Inspector
4. Select "NativeListStorageListTest+SimpleJob" job
5. Press "Refresh Disassembly" button
6. Observe that you will get "The opcode instruction `IL_0001: ldtoken T` is not supported by burst" error

Notes:
- This issue appears on both Windows and OSX
- The full error log is in Comments section
- I believe the failure is not specific to int - any call to UnsafeUtility.IsBlittable causes the failure

Reproduced on Unity 2018.1.4f1, 2018.2.0b5 and 2018.2.0b8
Could not reproduce on Unity 2018.3.0a1 because project becomes corrupted

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.