Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Leak in Unity Editor (Consulo.Internal.UnityEditor.ConsuloIntegration) #30

Open
halotroop2288 opened this issue Dec 13, 2021 · 1 comment
Assignees
Labels

Comments

@halotroop2288
Copy link

halotroop2288 commented Dec 13, 2021

Consulo Version: 2021.11
Unity Editor Version: 2021.2.5f1 (will test soon on 2021.2.6f1)
Unity Editor Consulo Plugin Version: 2.6.0

Consulo's Unity Editor plugin appears to be causing a memory leak in the Unity Editor. snip

Here is an example stacktrace:

A Native Collection has not been disposed, resulting in a memory leak. Allocated from:
Unity.Collections.NativeArray`1:.ctor(Byte[], Allocator)
UnityEngine.Networking.UploadHandlerRaw:.ctor(Byte[])
Consulo.Internal.UnityEditor.<SendRequestToConsuloImpl>d__17:MoveNext() (at Library\PackageCache\com.consulo.ide@b25393f154\Editor\Consulo\ConsuloIntegration.cs:218)
Consulo.Internal.UnityEditor.ConsuloIntegration:SendRequestToConsulo(String, JSONClass, Boolean) (at Library\PackageCache\com.consulo.ide@b25393f154\Editor\Consulo\ConsuloIntegration.cs:194)
Consulo.Internal.UnityEditor.ConsuloIntegration:SendToConsulo(String, JSONClass, Boolean, Boolean) (at Library\PackageCache\com.consulo.ide@b25393f154\Editor\Consulo\ConsuloIntegration.cs:169)
Consulo.Internal.UnityEditor.<>c__DisplayClass4_0:<Run>b__0() (at Library\PackageCache\com.consulo.ide@b25393f154\Editor\Consulo\MessageSender.cs:45)
Consulo.Internal.UnityEditor.<>c__DisplayClass2_0:<RunInMainThread>b__0() (at Library\PackageCache\com.consulo.ide@b25393f154\Editor\Consulo\UnityUtil.cs:46)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
@VISTALL VISTALL self-assigned this Dec 13, 2021
@VISTALL VISTALL added the bug label Dec 13, 2021
@VISTALL
Copy link
Member

VISTALL commented Dec 13, 2021

Hello. Thanks for bug, something new, never catch it. Looks like need add using for UnityWebRequest post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants