Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Remote Config Native Collection memory leak

$
0
0
Windows 10, Unity 2021.1.15f1, Remote Config 2.0.1, Android Build Target

I call Remote Config Fetch on Awake once on startup and it throws the error "A Native Collection has not been disposed, resulting in a memory leak. Allocated from: Unity.Collections.NativeArray`1:.ctor(Byte[], Allocator)"

It appears to occur here in ConfigManagerImpl:
Code (CSharp):
  1. request.uploadHandler = new UploadHandlerRaw(Encoding.UTF8.GetBytes(jsonText));
Here is the full stack trace obtained...

Remote Config Native Collection memory leak

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>