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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Add comment