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)
I have now updated to 2.0.0 and the issue still persists. I would appreciate if anyone at Esri could take a look into this since this is an urgent need of ours.