Search Issue Tracker

Active

Under Consideration for 2.6.X

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

Package: Unity Native Collections

-

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.