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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Add comment