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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Resolution Note:
There are no fixes planned for this Bug