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>()
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment