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
- Crash on AudioMixer::GetFMODChannelGroup when entering Play Mode in a specific project
- Prefabs with "Flags" enum properties result in "IndexOutOfRangeException" when trying to commit/revert
- The Camera first person mode in Cameras overlay is greyed out and not clickable when the Editor is restarted with the Game View focused
- Scene View doesn't select the Canvas when it's clicked with the View Tool
- Transform fields are impossible to edit when Inspector window is resized
Add comment