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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Add comment