Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2021.1.0a1
2021.1.0a5
Issue ID
1291903
Regression
Yes
Native Collection disposal error is thrown when toggling Analytics on and off
Steps to reproduce:
1. Create a new project
2. Enable Analytics in Window->General->Services
3. Toggle Analytics Off and On quickly a few times
4. Observe console
Expected result: No errors are thrown
Actual result: "A Native Collection has not been disposed, resulting in a memory leak. Enable Full StackTraces to get more details." errors appear
Reproduced on: 2021.1.0a1, 2021.1.0a5
Didn't reproduce on: 2020.2.0b12, 2020.1.13f1
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
- Long Prefab save times when using Unity 2022.2 and higher
- Console displays error "UnityException: Creating asset at path Assets/Scenes/ .scenetemplate failed." during scene template saving
- "Development Build" watermark is shown in non-development UWP release builds
- Console errors appear when the Inspector is set to Debug and a GameObject is selected
- A script public variable value is not used when set in the Inspector window
tigme
Mar 26, 2021 16:57
I Still get a lot of these errors in 2021.1.0f1. It almost comes up randomly. I coding mostly in the new Visual Scripting with no other add-ons. I only have a simple JSON encode and decode C# script that I call from the Visual Scripting engine.