Search Issue Tracker
Fixed
Fixed in 6000.4.6f1, 6000.5.0b5, 6000.6.0a3
Votes
0
Found in
6000.4.2f1
6000.5.0b3
6000.6.0a3
Issue ID
UUM-125000
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
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
- Summary tab is selected but its content is not displayed when pressing Ctrl/Cmd+A in the Project Auditor window
- [UWP] Mouse movement re-triggers stale <Mouse>/scroll value after the scroll wheel is used once
- "Shutdown worker was forced killed because it kept running. Worker ..." errors are thrown after building a blank HDRP project
- [UI Toolkit] USS materials in AssetBundles break due to InstanceID referencing a material that no longer exists when a Scene is loaded through Addressables for the second time
- Help button leads to a missing documentation page when clicked on a Font Import Settings in the Inspector
Resolution Note:
Fixed in 6000.6.0a3
Resolution Note (fix version 6000.6.0a3):
Fixed in 6000.6.0a3