Search Issue Tracker
Active
Under Consideration for 2.5.X
Votes
7
Found in [Package]
2.5.0-pre.2 - Collections
Issue ID
ECSB-1287
Regression
No
InvalidOperationException is thrown when using IJobParallelForDefer with NativeDisableContainerSafetyRestriction
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Observe the Console window
Expected result: No errors are thrown
Actual result: “InvalidOperationException: The Unity.Collections.NativeList1[NewBehaviourScript+Data] is used to set the iteration count deferred when the job executes, it is required that the Unity.Collections.NativeList1[NewBehaviourScript+Data] is included in the job struct either as a Unity.Collections.NativeList`1[NewBehaviourScript+Data] or NativeArray.” error is thrown
Reproducible with: 1.5.1 (2021.3.42f1, 2022.3.41f1), 2.4.2, 2.5.0-pre.2 (2022.3.41f, 6000.0.15f1)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Add comment