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 issue in Editor and in built applications #1027

Open
shanemccartney opened this issue Sep 16, 2023 · 3 comments
Open

Memory leak issue in Editor and in built applications #1027

shanemccartney opened this issue Sep 16, 2023 · 3 comments
Assignees
Labels
type:bug Something isn't working

Comments

@shanemccartney
Copy link

Plugin Version or Commit ID

v0.12.0

Unity Version

2022.3.9f1

Your Host OS

MacOs

Target Platform

UnityEditor, Mac Standalone

Target Device

Macbook Pro

[Windows Only] Visual Studio C++ and Windows SDK Version

No response

[Linux Only] GCC/G++ and GLIBC Version

No response

[Android Only] Android Build Tools and NDK Version

No response

[iOS Only] XCode Version

No response

Build Command

python3 build.py build --desktop cpu -vv

Bug Description

Open any of the sample scenes and profile memory use in Unity. Native Reserved Memory constantly allocates until all memory is used and never goes down during play. Stopping play and resuming also does not clear memory the same memory leak issue also occurs in an app built for macOS

Steps to Reproduce the Bug

Open any of the sample scenes and profile memory use in Unity to see constant memory increase.

Log

Asset Pipeline Refresh (id=eacc3623ce8684c2e93a7d9c91da8161): Total: 0.097 seconds - Initiated by RefreshV2(AllowForceSynchronousImport)
Thread 0x2e83ab000 may have been prematurely finalized
Asset Pipeline Refresh (id=be4a2ee466441459d9e9f2d4d3cdf142): Total: 0.104 seconds - Initiated by RefreshV2(NoUpdateAssetOptions)
SpriteAtlasPacking completed in 0.106406 sec
Reloading assemblies for play mode.
Reloading assemblies after forced synchronous recompile.
Attempted to call .Dispose on an already disposed CancellationTokenSource
Begin MonoManager ReloadAssembly

  • Loaded All Assemblies, in 0.336 seconds
    Refreshing native plugins compatible for Editor in 1.32 ms, found 4 plugins.
    Native extension for Android target not found
    Native extension for OSXStandalone target not found
    [MODES] ModeService[none].Initialize
    [MODES] ModeService[none].LoadModes
    [MODES] Loading mode Default (0) for mode-current-id-MediaPipeUnityPlugin
    Mono: successfully reloaded assembly
  • Finished resetting the current domain, in 1.022 seconds
    Domain Reload Profiling: 1361ms
    BeginReloadAssembly (269ms)
    ExecutionOrderSort (0ms)
    DisableScriptedObjects (26ms)
    BackupInstance (0ms)
    ReleaseScriptingObjects (0ms)
    CreateAndSetChildDomain (189ms)
    RebuildCommonClasses (21ms)
    RebuildNativeTypeToScriptingClass (8ms)
    initialDomainReloadingComplete (14ms)
    LoadAllAssembliesAndSetupDomain (27ms)
    LoadAssemblies (42ms)
    RebuildTransferFunctionScriptingTraits (0ms)
    AnalyzeDomain (10ms)
    TypeCache.Refresh (5ms)
    TypeCache.ScanAssembly (0ms)
    ScanForSourceGeneratedMonoScriptInfo (0ms)
    ResolveRequiredComponents (3ms)
    FinalizeReload (1023ms)
    ReleaseScriptCaches (0ms)
    RebuildScriptCaches (0ms)
    SetupLoadedEditorAssemblies (542ms)
    LogAssemblyErrors (0ms)
    InitializePlatformSupportModulesInManaged (10ms)
    SetLoadedEditorAssemblies (3ms)
    RefreshPlugins (0ms)
    BeforeProcessingInitializeOnLoad (34ms)
    ProcessInitializeOnLoadAttributes (474ms)
    ProcessInitializeOnLoadMethodAttributes (20ms)
    AfterProcessingInitializeOnLoad (1ms)
    EditorAssembliesLoaded (0ms)
    ExecutionOrderSort2 (0ms)
    AwakeInstancesAfterBackupRestoration (252ms)
    Asset Pipeline Refresh (id=323da023593d54193a289e582e2b3b9a): Total: 1.515 seconds - Initiated by StopAssetImportingV2(ForceSynchronousImport | ForceDomainReload)
    Summary:
    Imports: total=0 (actual=0, local cache=0, cache server=0)
    Asset DB Process Time: managed=0 ms, native=133 ms
    Asset DB Callback time: managed=7 ms, native=0 ms
    Scripting: domain reloads=1, domain reload time=1374 ms, compile time=0 ms, other=0 ms
    Project Asset Count: scripts=3935, non-scripts=1636
    Asset File Changes: new=0, changed=0, moved=0, deleted=0
    Scan Filter Count: 0
    InvokeBeforeRefreshCallbacks: 0.191ms
    ApplyChangesToAssetFolders: 0.038ms
    Scan: 0.000ms
    OnSourceAssetsModified: 0.001ms
    GetAllGuidsForCategorization: 0.310ms
    CategorizeAssets: 21.131ms
    ImportOutOfDateAssets: 1034.364ms (1032.547ms without children)
    CompileScripts: 0.013ms
    CollectScriptTypesHashes: 0.036ms
    ReloadNativeAssets: 0.039ms
    UnloadImportedAssets: 0.262ms
    EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.926ms
    InitializingProgressBar: 0.000ms
    PostProcessAllAssetNotificationsAddChangedAssets: 0.000ms
    OnDemandSchedulerStart: 0.541ms
    PostProcessAllAssets: 7.401ms
    GatherAllCurrentPrimaryArtifactRevisions: 0.167ms
    UnloadStreamsBegin: 0.007ms
    PersistCurrentRevisions: 0.139ms
    UnloadStreamsEnd: 0.007ms
    GenerateScriptTypeHashes: 0.951ms
    Untracked: 451.519ms
    Loaded scene 'Temp/__Backupscenes/0.backup'
    Deserialize: 1.842 ms
    Integration: 135.958 ms
    Integration of assets: 0.001 ms
    Thread Wait Time: 0.006 ms
    Total Operation Time: 137.806 ms
    Initializing the Bootstrap GameObject
    UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
    UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    UnityEngine.Logger:Log (UnityEngine.LogType,object)
    UnityEngine.Debug:Log (object)
    Mediapipe.Unity.Sample.Solution:FindBootstrap () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:101)
    Mediapipe.Unity.Sample.Solution/d__9:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:28)
    UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(Filename: Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs Line: 101)

The configuration for the sample app can be modified using AppSettings.asset.
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Mediapipe.Unity.Sample.Bootstrap/d__11:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs:27)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.Sample.Bootstrap:OnEnable () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs:22)
UnityEngine.Object:Instantiate<UnityEngine.GameObject> (UnityEngine.GameObject) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:285)
Mediapipe.Unity.Sample.Solution:FindBootstrap () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:102)
Mediapipe.Unity.Sample.Solution/d__9:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:28)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(Filename: Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs Line: 27)

Setting global flags...
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Mediapipe.Unity.Sample.Bootstrap/d__11:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs:36)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.Sample.Bootstrap:OnEnable () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs:22)
UnityEngine.Object:Instantiate<UnityEngine.GameObject> (UnityEngine.GameObject) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:285)
Mediapipe.Unity.Sample.Solution:FindBootstrap () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:102)
Mediapipe.Unity.Sample.Solution/d__9:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:28)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(Filename: Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs Line: 36)

Initializing AssetLoader...
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Mediapipe.Unity.Sample.Bootstrap/d__11:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs:41)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.Sample.Bootstrap:OnEnable () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs:22)
UnityEngine.Object:Instantiate<UnityEngine.GameObject> (UnityEngine.GameObject) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:285)
Mediapipe.Unity.Sample.Solution:FindBootstrap () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:102)
Mediapipe.Unity.Sample.Solution/d__9:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:28)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(Filename: Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs Line: 41)

Current platform does not support GPU inference mode, so falling back to CPU mode
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogWarning (object)
Mediapipe.Unity.Sample.Bootstrap:DecideInferenceMode () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs:96)
Mediapipe.Unity.Sample.Bootstrap/d__11:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs:72)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.Sample.Bootstrap:OnEnable () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs:22)
UnityEngine.Object:Instantiate<UnityEngine.GameObject> (UnityEngine.GameObject) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:285)
Mediapipe.Unity.Sample.Solution:FindBootstrap () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:102)
Mediapipe.Unity.Sample.Solution/d__9:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:28)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(Filename: Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs Line: 96)

Preparing ImageSource...
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Mediapipe.Unity.Sample.Bootstrap/d__11:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs:84)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.Sample.Bootstrap:OnEnable () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs:22)
UnityEngine.Object:Instantiate<UnityEngine.GameObject> (UnityEngine.GameObject) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:285)
Mediapipe.Unity.Sample.Solution:FindBootstrap () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:102)
Mediapipe.Unity.Sample.Solution/d__9:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:28)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(Filename: Assets/MediaPipeUnity/Samples/Common/Scripts/Bootstrap.cs Line: 84)

Config Type = CPU
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Mediapipe.Unity.Sample.GraphRunner/d__39:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:116)
Mediapipe.Unity.WaitForResult/d__20:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:51)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.WaitForResult:.ctor (UnityEngine.MonoBehaviour,System.Collections.IEnumerator,long) (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:34)
Mediapipe.Unity.Sample.GraphRunner:WaitForInit (Mediapipe.Unity.RunningMode) (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:109)
Mediapipe.Unity.Sample.ImageSourceSolution1/<Run>d__12<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:60) UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17) UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112) Mediapipe.Unity.Sample.ImageSourceSolution1<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:Play () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:35)
Mediapipe.Unity.Sample.Solution/d__9:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:31)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(Filename: Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs Line: 116)

Running Mode = Async
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Mediapipe.Unity.Sample.GraphRunner/d__39:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:117)
Mediapipe.Unity.WaitForResult/d__20:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:51)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.WaitForResult:.ctor (UnityEngine.MonoBehaviour,System.Collections.IEnumerator,long) (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:34)
Mediapipe.Unity.Sample.GraphRunner:WaitForInit (Mediapipe.Unity.RunningMode) (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:109)
Mediapipe.Unity.Sample.ImageSourceSolution1/<Run>d__12<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:60) UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17) UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112) Mediapipe.Unity.Sample.ImageSourceSolution1<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:Play () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:35)
Mediapipe.Unity.Sample.Solution/d__9:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:31)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(Filename: Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs Line: 117)

Min Detection Confidence (FaceDetectionShortRangeCpu) = 0.5
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph:ConfigureCalculatorGraph (Mediapipe.CalculatorGraphConfig) (at Assets/MediaPipeUnity/Samples/Scenes/Face Detection/FaceDetectionGraph.cs:92)
Mediapipe.Unity.Sample.GraphRunner:InitializeCalculatorGraph () (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:239)
Mediapipe.Unity.Sample.GraphRunner/d__39:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:119)
Mediapipe.Unity.WaitForResult/d__20:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:51)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.WaitForResult:.ctor (UnityEngine.MonoBehaviour,System.Collections.IEnumerator,long) (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:34)
Mediapipe.Unity.Sample.GraphRunner:WaitForInit (Mediapipe.Unity.RunningMode) (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:109)
Mediapipe.Unity.Sample.ImageSourceSolution1/<Run>d__12<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:60) UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17) UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112) Mediapipe.Unity.Sample.ImageSourceSolution1<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:Play () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:35)
Mediapipe.Unity.Sample.Solution/d__9:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:31)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(Filename: Assets/MediaPipeUnity/Samples/Scenes/Face Detection/FaceDetectionGraph.cs Line: 92)

Min Detection Confidence (FaceDetectionFullRangeCpu) = 0.5
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph:ConfigureCalculatorGraph (Mediapipe.CalculatorGraphConfig) (at Assets/MediaPipeUnity/Samples/Scenes/Face Detection/FaceDetectionGraph.cs:92)
Mediapipe.Unity.Sample.GraphRunner:InitializeCalculatorGraph () (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:239)
Mediapipe.Unity.Sample.GraphRunner/d__39:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:119)
Mediapipe.Unity.WaitForResult/d__20:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:51)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.WaitForResult:.ctor (UnityEngine.MonoBehaviour,System.Collections.IEnumerator,long) (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:34)
Mediapipe.Unity.Sample.GraphRunner:WaitForInit (Mediapipe.Unity.RunningMode) (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:109)
Mediapipe.Unity.Sample.ImageSourceSolution1/<Run>d__12<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:60) UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17) UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112) Mediapipe.Unity.Sample.ImageSourceSolution1<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:Play () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:35)
Mediapipe.Unity.Sample.Solution/d__9:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:31)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(Filename: Assets/MediaPipeUnity/Samples/Scenes/Face Detection/FaceDetectionGraph.cs Line: 92)

Loading dependent assets...
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Mediapipe.Unity.Sample.GraphRunner/d__39:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:123)
Mediapipe.Unity.WaitForResult/d__20:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:51)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.WaitForResult:.ctor (UnityEngine.MonoBehaviour,System.Collections.IEnumerator,long) (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:34)
Mediapipe.Unity.Sample.GraphRunner:WaitForInit (Mediapipe.Unity.RunningMode) (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:109)
Mediapipe.Unity.Sample.ImageSourceSolution1/<Run>d__12<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:60) UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17) UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112) Mediapipe.Unity.Sample.ImageSourceSolution1<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:Play () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:35)
Mediapipe.Unity.Sample.Solution/d__9:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:31)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(Filename: Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs Line: 123)

LocalResourceManager: face_detection_short_range.bytes will not be copied to /Users/shanemccartney/Library/Application Support/DefaultCompany/MediaPipeUnityPlugin/face_detection_short_range.bytes because it already exists
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,string,object)
Mediapipe.Unity.Logger/LoggerWrapper:Log (Mediapipe.Unity.Logger/LogLevel,string,object) (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Unity/Logger.cs:262)
Mediapipe.Unity.Logger:Log (Mediapipe.Unity.Logger/LogLevel,string,object) (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Unity/Logger.cs:138)
Mediapipe.Unity.Logger:LogInfo (string,object) (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Unity/Logger.cs:181)
Mediapipe.Unity.LocalResourceManager/d__7:MoveNext () (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Unity/ResourceManager/LocalResourceManager.cs:43)
Mediapipe.Unity.WaitForResult/d__20:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:51)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.WaitForResult:.ctor (UnityEngine.MonoBehaviour,System.Collections.IEnumerator,long) (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:34)
Mediapipe.Unity.Sample.GraphRunner:WaitForAsset (string,string,bool) (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:300)
Mediapipe.Unity.Sample.GraphRunner:WaitForAsset (string,bool) (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:305)
Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph:RequestDependentAssets () (at Assets/MediaPipeUnity/Samples/Scenes/Face Detection/FaceDetectionGraph.cs:68)
Mediapipe.Unity.Sample.GraphRunner/d__39:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:124)
Mediapipe.Unity.WaitForResult/d__20:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:51)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.WaitForResult:.ctor (UnityEngine.MonoBehaviour,System.Collections.IEnumerator,long) (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:34)
Mediapipe.Unity.Sample.GraphRunner:WaitForInit (Mediapipe.Unity.RunningMode) (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:109)
Mediapipe.Unity.Sample.ImageSourceSolution1/<Run>d__12<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:60) UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17) UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112) Mediapipe.Unity.Sample.ImageSourceSolution1<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:Play () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:35)
Mediapipe.Unity.Sample.Solution/d__9:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:31)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(Filename: ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Unity/ResourceManager/LocalResourceManager.cs Line: 43)

LocalResourceManager: face_detection_full_range_sparse.bytes will not be copied to /Users/shanemccartney/Library/Application Support/DefaultCompany/MediaPipeUnityPlugin/face_detection_full_range_sparse.bytes because it already exists
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,string,object)
Mediapipe.Unity.Logger/LoggerWrapper:Log (Mediapipe.Unity.Logger/LogLevel,string,object) (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Unity/Logger.cs:262)
Mediapipe.Unity.Logger:Log (Mediapipe.Unity.Logger/LogLevel,string,object) (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Unity/Logger.cs:138)
Mediapipe.Unity.Logger:LogInfo (string,object) (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Unity/Logger.cs:181)
Mediapipe.Unity.LocalResourceManager/d__7:MoveNext () (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Unity/ResourceManager/LocalResourceManager.cs:43)
Mediapipe.Unity.WaitForResult/d__20:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:51)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.WaitForResult:.ctor (UnityEngine.MonoBehaviour,System.Collections.IEnumerator,long) (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:34)
Mediapipe.Unity.Sample.GraphRunner:WaitForAsset (string,string,bool) (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:300)
Mediapipe.Unity.Sample.GraphRunner:WaitForAsset (string,bool) (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:305)
Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph:RequestDependentAssets () (at Assets/MediaPipeUnity/Samples/Scenes/Face Detection/FaceDetectionGraph.cs:68)
Mediapipe.Unity.Sample.GraphRunner/d__39:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:124)
Mediapipe.Unity.WaitForResult/d__20:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:51)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112)
Mediapipe.Unity.WaitForResult:.ctor (UnityEngine.MonoBehaviour,System.Collections.IEnumerator,long) (at Assets/MediaPipeUnity/Samples/Common/Scripts/WaitForResult.cs:34)
Mediapipe.Unity.Sample.GraphRunner:WaitForInit (Mediapipe.Unity.RunningMode) (at Assets/MediaPipeUnity/Samples/Common/Scripts/GraphRunner.cs:109)
Mediapipe.Unity.Sample.ImageSourceSolution1/<Run>d__12<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:60) UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17) UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/MonoBehaviour.bindings.cs:112) Mediapipe.Unity.Sample.ImageSourceSolution1<Mediapipe.Unity.Sample.FaceDetection.FaceDetectionGraph>:Play () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSourceSolution.cs:35)
Mediapipe.Unity.Sample.Solution/d__9:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/Solution.cs:31)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)

(Filename: ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Unity/ResourceManager/LocalResourceManager.cs Line: 43)

Waiting for WebCamTexture to start
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
Mediapipe.Unity.WebCamSource/d__48:MoveNext () (at Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSource/WebCamSource.cs:249)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal (UnityEngine.RenderTexture,int,UnityEngine.Vector2,bool,bool)
UnityEditor.PlayModeView:RenderView (UnityEngine.Vector2,bool) (at /Users/bokken/build/output/unity/unity/Editor/Mono/PlayModeView/PlayModeView.cs:248)
UnityEditor.GameView:OnGUI () (at /Users/bokken/build/output/unity/unity/Editor/Mono/GameView/GameView.cs:976)
UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect) (at /Users/bokken/build/output/unity/unity/Editor/Mono/HostView.cs:512)
UnityEditor.DockArea:DrawView (UnityEngine.Rect) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/DockArea.cs:385)
UnityEditor.DockArea:OldOnGUI () (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/DockArea.cs:376)
UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:355)
UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:676)
UnityEngine.UIElements.IMGUIContainer:DoIMGUIRepaint () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs:536)
UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,single,System.Exception&) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Renderer/UIRenderer/UIRenderers.cs:130)
UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Material,UnityEngine.Material,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeSlice1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeSlice1<UnityEngine.Vector4>,UnityEngine.MaterialPropertyBlock,bool,System.Exception&) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Renderer/UIRenderer/UIRenderDevice.cs:1003)
UnityEngine.UIElements.UIR.RenderChain:Render () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Renderer/UIRRenderChain.cs:501)
UnityEngine.UIElements.UIRRepaintUpdater:Update () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Renderer/UIRRepaintUpdater.cs:79)
UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/VisualTreeUpdater.cs:111)
UnityEngine.UIElements.Panel:UpdateForRepaint () (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Panel.cs:1026)
UnityEngine.UIElements.Panel:Repaint (UnityEngine.Event) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/Panel.cs:1087)
UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:454)
UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:205)
UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:74)
UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr) (at /Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/UIElementsUtility.cs:28)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:190)

(Filename: Assets/MediaPipeUnity/Samples/Common/Scripts/ImageSource/WebCamSource.cs Line: 249)

Screenshot/Video

No response

Additional Context

No response

@shanemccartney shanemccartney added the type:bug Something isn't working label Sep 16, 2023
@shanemccartney
Copy link
Author

shanemccartney commented Sep 16, 2023

The memory leak is pretty large about 1 GB a second in all of the sample scenes.

There are also sample scenes under a folder named Tasks, running these scenes also has a memory leak but at a lower rate approx 1GB/10 seconds.

This issue can be tested with the sample files with no other code added that would interfere with or create this issue we initially found this issue on a lower version of this API so it has likely been an issue for a while.

@shanemccartney
Copy link
Author

Believe this issue might be due to building with the command
python build.py build --desktop cpu -vv

And running on MacOs rather than using this instead, I did not notice this option at the time

python build.py build --desktop cpu --opencv cmake --macos_universal -vv

Will get back to you to confirm if this fixed the memory leak issue

@homuler homuler self-assigned this Sep 22, 2023
@imvenx
Copy link

imvenx commented Sep 20, 2024

I'm detecting what I think is a memory leak too on linux mint, every time I play unity editor I get like 70mb taken from ram and is not released on stop editor, tried it on windows same project works fine no memory leaks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants