Search Issue Tracker

Fixed

Fixed in 1.0.0

Votes

0

Found in [Package]

1.0.0-pre.6

Issue ID

NCCBUG-139

Regression

No

Native Collection memory leak error is thrown when spawning GameObject with NetworkAnimator twice

Package: Multiplayer Netcode for GameObjects

-

How to reproduce:
1. Open the attached project (Bug Sample Project.zip)
2. Open scene Scenes/Login Screen
3. Press the Play button
4. Observe the Console for 10-20 seconds

Expected result: no Native Collection error is thrown
Actual result: "A Native Collection has not been disposed, resulting in a memory leak." is thrown 10-20 seconds after respawning GameObject

Reproducible with: 1.0.0-pre.2, 1.0.0-pre.6 (2020.3.31f1, 2021.2.16f1, 2022.1.0b12, 2022.2.0a8)
Could not test with: 2019.4.36f1 (Netcode not supported)

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.