Hi,
After upgrading from Unity 2023.1 to Unity 6 I am having a really bad memory leak from ArcGIS and I can't figure out as to why. It is related to the ArcGIS SDK since when disabling it I have great performance.
I have attached a memory snapshot where I compared the memory usage after running 1 hour just rendering the ArcGIS map and it is quite noticeable that an additional 13+ million new objects for ArcGISRuntimeEnvironmentErrorEventInternal is created during this time and this is the cause of the leak. I have no issues rendering the map at all and I receive no other errors.
I do however receive the following warnings:
System specs:
ArcGIS Unity SDK 1.7 (have also tried to downgrade to 1.6 that we use in 2023.1 and the memory leak is still present)
Solved! Go to Solution.
Hi @YifengChen
A couple of questions:
Regarding Render Pipeline compatibility, ArcGIS Maps SDK for Unity only supports the Universal Render Pipeline (URP) and the High Definition Render Pipeline (HDRP). The legacy Built-in Render Pipeline has never been supported.
Thanks