playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.44k stars 959 forks source link

Memory leak error after installing plugin #3032

Open lucaswhitaker22 opened 3 years ago

lucaswhitaker22 commented 3 years ago

Hello,

I recently installed the Google Play Service Library from Github. When I set it up, the following error message appeared:

It's non-critical, as my game still runs. However, I don't want a memory leak in my game. I don't have experience with this type of stuff, so any tips would be a lot of help.

Does anyone know what may be causing this error? Is there a simple solution or do I need to run a memory profiler?

A Native Collection has not been disposed, resulting in a memory leak. Allocated from: Unity.Collections.NativeArray1:.ctor(Byte[], Allocator) (at /Users/bokken/buildslave/unity/build/Runtime/Export/NativeArray/NativeArray.cs:69) UnityEngine.Networking.UploadHandlerRaw:.ctor(Byte[]) (at /Users/bokken/buildslave/unity/build/Modules/UnityWebRequest/Public/UploadHandler/UploadHandler.bindings.cs:98) UnityEngine.Networking.UnityWebRequest:SetupPost(UnityWebRequest, WWWForm) (at /Users/bokken/buildslave/unity/build/Modules/UnityWebRequest/Public/WebRequestExtensions.cs:206) UnityEngine.Networking.UnityWebRequest:Post(String, WWWForm) (at /Users/bokken/buildslave/unity/build/Modules/UnityWebRequest/Public/WebRequestExtensions.cs:184) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) Google.PortableWebRequest:StartRequest(HttpMethod, String, IDictionary2, WWWForm) (at /Users/chkuang/Workspace/Git/unity-jar-resolver/source/VersionHandlerImpl/src/PortableWebRequest.cs:481) Google.<StartRequestOnMainThread>c__AnonStorey6:<>m__C() (at /Users/chkuang/Workspace/Git/unity-jar-resolver/source/VersionHandlerImpl/src/PortableWebRequest.cs:443) /Users/chkuang/Workspace/Git/unity-jar-resolver/source/VersionHandlerImpl/src/PortableWebRequest.cs:443) Google.RunOnMainThread:ExecuteNext() (at /Users/chkuang/Workspace/Git/unity-jar-resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:486) Google.RunOnMainThread:<ExecuteAllUnnested>m__12() (at /Users/chkuang/Workspace/Git/unity-jar-resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:536) Google.RunOnMainThread:RunAction(Action) (at /Users/chkuang/Workspace/Git/unity-jar-resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:343) Google.RunOnMainThread:ExecuteAllUnnested(Boolean) (at /Users/chkuang/Workspace/Git/unity-jar-resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:530) Google.RunOnMainThread:ExecuteAll() (at /Users/chkuang/Workspace/Git/unity-jar-resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:512) UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:327)

stroibot commented 3 years ago

Same here

FauconSpartiate commented 3 years ago

Same, any dev still alive on this repo?

paulpach commented 3 years ago

Same here

SunQdev commented 2 years ago

Same here

ozdemir08 commented 2 years ago

The log unity-jar-resolver suggests to me that it might be about the unity-jar-resolver plugin. Do you mind filing an issue to this repository?

CTePeoTun commented 2 years ago

Same here

BennyBlue55 commented 2 years ago

Same here, is there any solution yet?

paulpach commented 2 years ago

a bug is there: https://github.com/googlesamples/unity-jar-resolver/issues/473