November 2019
Intermediate to advanced
404 pages
12h 9m
English
We do not have direct control over what is going on in the native domain since we don't have the Unity engine source code and hence can't add any code that will interact with it directly. We can, however, control it indirectly using various script-level functions that serve as interaction points between managed and native code. There are technically a variety of memory allocators available, which are used internally for things such as GameObjects, graphics objects, and the Profiler, but these are hidden behind the native-managed bridge.
However, we can observe how much memory has been allocated and reserved in this memory domain via the Memory Area of the Profiler window. Native memory allocations show up under ...
Read now
Unlock full access