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
- 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
Resolution Note:
There are no fixes planned for this Bug