Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
2.1.4 - Collections
Issue ID
ECSB-49
Regression
No
InvalidOperationException is thrown when using NativeList<T>.BinarySearch
How to reproduce:
1. Open the user's attached project
2. At the top of the Editor window, go to Issue -> BinarySearch
3. Observe the Console
Expected result: no exceptions are thrown
Actual result: "System::InvalidOperationException: The Unity.Collections.NativeList`1\[System.Int32] has been declared as \[ReadOnly] in the job, but you are writing to it. <...>"
Reproducible with: 1.1.0, 1.2.3-pre.1 (2020.3.32f1, 2021.2.19f1, 2022.1.0b15, 2022.2.0a9)
Could not test with: 0.9.0-preview.6 (2019.4.37f1), 1.3.0-pre.7 (invalid dependencies)
Add comment
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
Resolution Note:
There are no fixes planned for this Bug