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
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Resolution Note (fix version 2.6.0-pre.3 - Collections):
Removed OnDomainUnload callback that was causing leak when being discarded by Burst.