A Native Collection has not been disposed, resulting in a memory leak. Enable Full StackTraces to get more details.
error spawns. The error suggests that I shoud enable full stack trace. Which I have done, but it does not help to identify or find more information about the related error.
No matter the stack trace level for debug console, the message stays the same and there are no more info, detail about the error. This is not very helpful, so what else can we do?
You need to install the com.unity.jobs package in the package manager and then enable through the Jobs menu installed with the package. I was not able to find this package in the package manager registry but was able to locate it by searching fir the full name com.unity.jobs.
Has anyone found a way to Enable Full Stack Traces for jobs in Unity 2021.3? This used to be included in the com.unity.jobs package as described in this thread. But Unity gutted that package, even going so far as to nuke the previously-valid version number, leaving just a note saying âPlease use the Collections Packageâ. But I have collections installed and it doesnât let me enable Full Stack Traces for Jobs.
I was able to add jobs in 2021.3 by going to the Package Manager, clicking âAdd package by nameâŚâ, then typing in âcom.unity.jobsâ and it was able to be added for me, even if it says experimental.
Then I could enable full stack traces.
The only thing is that once I downloaded jobs and enabled full stack tracing, at least for me, the error message I was trying to trace wasnât showing up anymore.
I could see the effect of it still happening on the backend, but the error message didnât show up at all anymore and therefore didnât trace it, so if anything this made the debugging problem worse.