Search Issue Tracker
Fixed
Fixed in 2.6.0-pre.3 - Collections
Votes
1
Found in [Package]
2.6.0-exp.2 - Collections
Issue ID
ECSB-1680
Regression
Yes
"Found 256 leak(s) from callstack" is present when using the NativeQueue with -native-leak-detection EnabledWithStackTrace launch option in Player
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Open Build Profiles (File > Build Profiles)
4. Build
5. In Command Prompt, go to the Player’s location
6. Enter “IssueNativeQueue.exe -native-leak-detection EnabledWithStackTrace“
7. Close Player
8. Observe the Player.log
Expected result: No leaks exist
Actual result: “Found 256 leak(s) from callstack“ is present
Reproducible with: 2.5.3 (6000.0.49f1), 2.6.0-exp.2 (6000.0.49f1)
Fixed in: 2.5.7 (6000.0.49f1, 6000.1.3f1)
Could not test with: 2022.3.62f1 (Assets\Test\NativeQueueTest.cs(19,14): error CS0246: The type or namespace name 'NativeQueue<>' could not be found (are you missing a using directive or an assembly reference?))
Reproducible on:
Windows Standalone Player
Not Reproducible on:
Play mode
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- NativeQueue is destroyed in OnDestroy()
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note (fix version 2.6.0-pre.3 - Collections):
Removed OnDomainUnload callback that was causing leak when being discarded by Burst.