Search Issue Tracker
Fixed in 0.0.24
Votes
24
Found in [Package]
0.0.7
Issue ID
1119844
Regression
No
[IL2CPP] Null Exception is thrown when passing NativeList to a IJobParallellFor
Steps to reproduce:
1. Download attached project
2. Build project for Standalone with IL2CPP backend
Results: Null exception is thrown
NullReferenceException: Object reference not set to an instance of an object.
at Unity.Jobs.IJobParallelForDeferExtensions+ParallelForJobStruct`1[T].Initialize () [0x00000] in <00000000000000000000000000000000>:0
at Unity.Jobs.IJobParallelForDeferExtensions.Schedule[T,U] (T jobData, Unity.Collections.NativeList`1[T] list, System.Int32 innerloopBatchCount, Unity.Jobs.JobHandle dependsOn) [0x00000] in <00000000000000000000000000000000>:0
at Testscript.Update () [0x00000] in <00000000000000000000000000000000>:0
Reproduced with: 2019.2.0a3, 2019.1.0b1, 2018.3.3f1
Not reproducible in Editor and mono backend
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note (fix version 0.0.24):
Fixed in upcoming dots release