Skip to content

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

@halotroop2288

Description

@halotroop2288

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()

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions