Select to view content in your preferred language

Unity 6 Memory leak

99
0
a week ago
Labels (1)
ChristofferLindellBolin
Occasional Contributor

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.

ArcGIS-memory-leak.png

 

I do however receive the following warnings:

ChristofferLindellBolin_2-1742905254959.png

 

 

System specs:

ChristofferLindellBolin_1-1742905203639.png

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)

 

0 Kudos
0 Replies