#(IN-36009) [Addressables 1.21.9] GC spike every frame

1 messages · Page 1 of 1 (latest)

outer blade
#

Addressables is keep generating 440 bytes gc spike every frame after installing Unity Profiling Core API package at Preferences - Addresssables

#

🤔 It's really weird that why after installing Unity Profiling Core API it keep generating gc spike every frame? Is that Addressables integrates Unity Profiling Core API badly or Unity Profiling Core API package has gc issue by default?

sterile fiber
outer blade
# sterile fiber do you know what is the callstack of the allocation? you can check it with enabl...

Alright here it's.

0.033ms

Current frame accumulated time:
0.422ms for 40 instances on thread 'Main Thread'
Size: 80
Call Stack:
Unity.ResourceManager.dll!UnityEngine.ResourceManagement.Profiling::ProfilerRuntime.RefreshChangedReferenceCounts()    <a href="./Library/PackageCache/com.unity.addressables@1.21.9/Runtime/ResourceManager/Diagnostics/Profiling/ProfilerRuntime.cs" line="208">./Library/PackageCache/com.unity.addressables@1.21.9/Runtime/ResourceManager/Diagnostics/Profiling/ProfilerRuntime.cs:208</a>
Unity.ResourceManager.dll!UnityEngine.ResourceManagement.Profiling::ProfilerRuntime.PushToProfilerStream()    <a href="./Library/PackageCache/com.unity.addressables@1.21.9/Runtime/ResourceManager/Diagnostics/Profiling/ProfilerRuntime.cs" line="199">./Library/PackageCache/com.unity.addressables@1.21.9/Runtime/ResourceManager/Diagnostics/Profiling/ProfilerRuntime.cs:199</a>
Unity.ResourceManager.dll!UnityEngine.ResourceManagement.Profiling::ProfilerRuntime.InstanceOnOnLateUpdateDelegate()    <a href="./Library/PackageCache/com.unity.addressables@1.21.9/Runtime/ResourceManager/Diagnostics/Profiling/ProfilerRuntime.cs" line="48">./Library/PackageCache/com.unity.addressables@1.21.9/Runtime/ResourceManager/Diagnostics/Profiling/ProfilerRuntime.cs:48</a>
Unity.ResourceManager.dll!::MonoBehaviourCallbackHooks.LateUpdate()    <a href="./Library/PackageCache/com.unity.addressables@1.21.9/Runtime/ResourceManager/Util/MonoBehaviourCallbackHooks.cs" line="34">./Library/PackageCache/com.unity.addressables@1.21.9/Runtime/ResourceManager/Util/MonoBehaviourCallbackHooks.cs:34</a>