In the Memory Profiler, I found this allocated block in the Memory map with the message: “Unrooted allocation - This is a bug in Unity’s source code”.
Is this part of the <Unknown> memory?
if you can, please file a bug with a repro project - that would help to route this unknown portion to a proper team for a fix
yes, it is a part of “Unknown” memory - something we allocate through our memory management, but without annotation to understand which system this allocation belongs to
Is there a fix to this issue?
My memory map is full of megabytes of allocations, all with the same “This is a bug in Unity’s source code”. I have very strict control of my games assets thanks to asset bundles. So I find it weird that I’m having memory crashes.
I cant complete my project due to these memory crashes.
We recently opened over 20 bug tickets across roughly as many teams to address Unrooted Memory and some fixes to these (fixes as in: they now have a named root that helps understand what these are as they are likely needed, just not helpfully labeled) have already landed on 6.5.
If you are 6.3 or newer you can start your Player or Editor with the command line option -enable-memoryprofiler-callstacks, take a memory snapshot of that and open it with package version 1.1.9+, the Native > Native Subsystems > Unrooted group will be split up by the Memory Labels used for these allocations. That should give you and us a slightly better understanding of what this memory might be used for and which teams should investigate this.