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
- HDRP 6-way VFX Shader is lit incorrectly when World coordinates are used
- 2D Sprite Renderer in front is affected by Sprites in the background when using Sorting Layers and a Shadow Caster 2D with Self Shadow
- Modifying UI Prefab child's Height only confirms the first 1 or 2 digits when the Scene is newly opened or the Prefab is newly created
- ProfilingSampler.Get() returns null and makes the Player only render black when building a Release Build
- Search text field visual controls for the Path binding in an Input Actions Asset is misaligned
Resolution Note:
There are no fixes planned for this Bug