Search Issue Tracker
Active
Under Consideration for 2.4.X, 2.5.X, 7000.0.X
Votes
0
Found in [Package]
2.4.1 - Collections
2.5.X -Collections
7000.0.0a1
Issue ID
ECSB-1086
Regression
No
NativeQueue elements are still accessible after being dequeued when accessed through NativeQueue.AsReadOnly()
How to reproduce:
1. Open the attached “nativequeue_issue” project
2. Open the “SampleScene” and enter Play mode
3. Press the “Q” key
4. Observe the Console window
Expected result: The dequeued elements are removed, and the Console prints “NativeQueue.Count : 1” and “item : 0”
Actual result: The dequeued elements are not removed, and the Console prints “NativeQueue.Count : 1” and “item : 0” up to “item : 9”
Reproducible in: 2.2.0 (2022.3.28f1), 2.4.1 (2022.3.28f1, 6000.0.2f1)
Could not test with: 2021.3.38f1 (Collections 1.5.1 does not support NativeQueue)
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested
Notes:
* Also reproducible in Player
* Also reproducible when using NativeRingQueue
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Add comment