# \#CPU-Profiler

**URL:** https://discussions.unity.com/tag/cpu-profiler/159378.md

[Latest](https://discussions.unity.com/latest.md) · [Categories](https://discussions.unity.com/categories.md) · [Tags](https://discussions.unity.com/tags.md)

---

## [Make Profiler More Helpful For Scene Loading Optimization](https://discussions.unity.com/t/make-profiler-more-helpful-for-scene-loading-optimization/1739406)

<div class="topic-metadata">

**Author:** [@mubarakalmehairbi-codya](https://discussions.unity.com/u/mubarakalmehairbi-codya)\
**Replies:** 2\
**Last updated:** [October 16, 2026, 7:59pm UTC](https://discussions.unity.com/t/make-profiler-more-helpful-for-scene-loading-optimization/1739406 "2026-10-16T19:59:00Z")

</div>

My additive scene is taking long to load and this doesn’t tell me much about why it takes long. I suggest to make the CPU profiler more elaborate in this part. I would like to know which Awake/OnEnable method is maki…

---

## [CPU Profiler: Hard spikes or soft spikes which is better?](https://discussions.unity.com/t/cpu-profiler-hard-spikes-or-soft-spikes-which-is-better/1739389)

<div class="topic-metadata">

**Author:** [@Giftzwerg](https://discussions.unity.com/u/Giftzwerg)\
**Replies:** 1\
**Last updated:** [October 16, 2026, 3:43pm UTC](https://discussions.unity.com/t/cpu-profiler-hard-spikes-or-soft-spikes-which-is-better/1739389 "2026-10-16T15:43:42Z")

</div>

I’m working on improving a system and now I have to choose between the lesser of two evils. The system scans within a certain radius at a certain interval for objects around the player and, well, does its thing. Now I …

---

## [UNITY\_64 and DEVELOPMENT\_BUILD deprecation and Managed Code Variants](https://discussions.unity.com/t/unity-64-and-development-build-deprecation-and-managed-code-variants/1721546)

<div class="topic-metadata">

**Author:** [@Tautvydas-Zilys](https://discussions.unity.com/u/Tautvydas-Zilys)\
**Replies:** 19\
**Last updated:** [September 23, 2026, 7:00pm UTC](https://discussions.unity.com/t/unity-64-and-development-build-deprecation-and-managed-code-variants/1721546 "2026-09-23T19:00:36Z")

</div>

Hi everyone, In Unity 6.6, we’re deprecating the UNITY\_64 and DEVELOPMENT\_BUILD scripting symbols and introducing a new Player Setting, Managed Code Variant, to take the latter’s job. If you’ve ever guarded code with #i…

---

## [Profiler inconsistently reporting large self time executed values for calls on different callstacks](https://discussions.unity.com/t/profiler-inconsistently-reporting-large-self-time-executed-values-for-calls-on-different-callstacks/1736484)

<div class="topic-metadata">

**Author:** [@Layte00](https://discussions.unity.com/u/Layte00)\
**Replies:** 6\
**Last updated:** [September 14, 2026, 3:56pm UTC](https://discussions.unity.com/t/profiler-inconsistently-reporting-large-self-time-executed-values-for-calls-on-different-callstacks/1736484 "2026-09-14T15:56:01Z")

</div>

First post here so please bear with me. Editor Version: 6000.5.0f1 Profiler Version: 1.0.3 I started building chess in unity to experiment with chess bots, but along the way got sidetracked into optimisation by trying…

---

## [Frame rate dip when loading scenes asynchronously](https://discussions.unity.com/t/frame-rate-dip-when-loading-scenes-asynchronously/1735403)

<div class="topic-metadata">

**Author:** [@cgraf1](https://discussions.unity.com/u/cgraf1)\
**Replies:** 6\
**Last updated:** [September 7, 2026, 1:17pm UTC](https://discussions.unity.com/t/frame-rate-dip-when-loading-scenes-asynchronously/1735403 "2026-09-07T13:17:48Z")

</div>

Hello all, I am working on an open world game and have triggers that load new scenes and connected scenes, referred to as ‘connected rooms.’ It is not happening for some of the smaller scenes, but when going into a larg…

---

## [Can get Unity Profiler Working with PS5 Devkit](https://discussions.unity.com/t/can-get-unity-profiler-working-with-ps5-devkit/1720887)

<div class="topic-metadata">

**Author:** [@TheDevhouseAgency](https://discussions.unity.com/u/TheDevhouseAgency)\
**Replies:** 1\
**Last updated:** [May 23, 2026, 4:35pm UTC](https://discussions.unity.com/t/can-get-unity-profiler-working-with-ps5-devkit/1720887 "2026-05-23T16:35:01Z")

</div>

Hi everyone, We’ve been struggling to get the Unity Profiler working properly with PS5 development and are hoping someone here may have run into this before. We’ve already gone through the official/proprietary documen…

---

## [Game stutters due to player loop with noting inside](https://discussions.unity.com/t/game-stutters-due-to-player-loop-with-noting-inside/1719459)

<div class="topic-metadata">

**Author:** [@CapClimb](https://discussions.unity.com/u/CapClimb)\
**Replies:** 2\
**Last updated:** [May 12, 2026, 3:50pm UTC](https://discussions.unity.com/t/game-stutters-due-to-player-loop-with-noting-inside/1719459 "2026-05-12T15:50:42Z")

</div>

My games performance isn’t that great to begin with and with the stutters it makes it seem a lot worse. I built the game and checked the profiler however for the spikes everything seems to be in idle or waiting for main …

---

## [Tips To Understand Profile Analyzer](https://discussions.unity.com/t/tips-to-understand-profile-analyzer/1717888)

<div class="topic-metadata">

**Author:** [@Songerk](https://discussions.unity.com/u/Songerk)\
**Replies:** 2\
**Last updated:** [April 25, 2026, 10:04pm UTC](https://discussions.unity.com/t/tips-to-understand-profile-analyzer/1717888 "2026-04-25T22:04:35Z")

</div>

I am having trouble understanding what costing so much in my CPU from the profile analyzer or profile in general, for example I have this analyze, how can I check what causing the most spikes? Meaning what takes the most…

---

## [Optimizing URP renderer scripts](https://discussions.unity.com/t/optimizing-urp-renderer-scripts/1705685)

<div class="topic-metadata">

**Author:** [@Redsam121](https://discussions.unity.com/u/Redsam121)\
**Replies:** 10\
**Last updated:** [January 27, 2026, 6:55am UTC](https://discussions.unity.com/t/optimizing-urp-renderer-scripts/1705685 "2026-01-27T06:55:52Z")

</div>

I’m working on optimizing my game, it currently can only run at 30 fps. The game is supposed to run at 60 fps. I’ve managed to optimize the some of my game scripts update functions to keep it stable, but this is the best…

---

## [Profiler unusably slow with large sample](https://discussions.unity.com/t/profiler-unusably-slow-with-large-sample/1703550)

<div class="topic-metadata">

**Author:** [@ravens\_ben](https://discussions.unity.com/u/ravens_ben)\
**Replies:** 5\
**Last updated:** [January 13, 2026, 8:05am UTC](https://discussions.unity.com/t/profiler-unusably-slow-with-large-sample/1703550 "2026-01-13T08:05:39Z")

</div>

After my huge profiler sample was collected, the profiler window froze for multiple minutes. I could actually live with that. The problem is that the profiler window is not responsive after all that waiting time. Just le…

---

## [Why are Canvas completely rebuilt when the camera moves?](https://discussions.unity.com/t/why-are-canvas-completely-rebuilt-when-the-camera-moves/1698032)

<div class="topic-metadata">

**Author:** [@IndieMarc](https://discussions.unity.com/u/IndieMarc)\
**Replies:** 10\
**Last updated:** [January 12, 2026, 5:30pm UTC](https://discussions.unity.com/t/why-are-canvas-completely-rebuilt-when-the-camera-moves/1698032 "2026-01-12T17:30:47Z")

</div>

I’ve been trying to optimize the UI, and I managed to do it a lot already by making sure UI elements are not changed every frame, as apparently a single change rebuild the entire canvas, and this solved the issue when th…

---

## [Trying to understand profiler spikes, garbage collection, and the profiler](https://discussions.unity.com/t/trying-to-understand-profiler-spikes-garbage-collection-and-the-profiler/1699372)

<div class="topic-metadata">

**Author:** [@ATMLVE](https://discussions.unity.com/u/ATMLVE)\
**Replies:** 8\
**Last updated:** [January 2, 2026, 8:02am UTC](https://discussions.unity.com/t/trying-to-understand-profiler-spikes-garbage-collection-and-the-profiler/1699372 "2026-01-02T08:02:54Z")

</div>

I’m deep profiling a build (because I was getting random hitches in a regular build) and keep getting random lag spikes from random unrelated methods. These methods are running continuously but will randomly show as the …

---

## [Profiler UI and UI Details Modules not working](https://discussions.unity.com/t/profiler-ui-and-ui-details-modules-not-working/1701895)

<div class="topic-metadata">

**Author:** [@DeathPro](https://discussions.unity.com/u/DeathPro)\
**Replies:** 1\
**Last updated:** [December 29, 2025, 11:36am UTC](https://discussions.unity.com/t/profiler-ui-and-ui-details-modules-not-working/1701895 "2025-12-29T11:36:36Z")

</div>

I have a problem when I change my UI. So I try to Profile it with the Development Build on the Android Platform but the UI and UI Details Profiler Modules are always empty. Why is this happening?

---

## [Help with Unity Profiler and RenderLoop](https://discussions.unity.com/t/help-with-unity-profiler-and-renderloop/1697506)

<div class="topic-metadata">

**Author:** [@unity\_137B7E38FD34FCB0C08A](https://discussions.unity.com/u/unity_137B7E38FD34FCB0C08A)\
**Replies:** 2\
**Last updated:** [December 27, 2025, 3:29am UTC](https://discussions.unity.com/t/help-with-unity-profiler-and-renderloop/1697506 "2025-12-27T03:29:39Z")

</div>

Hi!, I’m really new to using Unity’s built in profiler for testing, I’m developing a 2D game with really simple graphics, I’m trying to set my target framerate to 60fps, I’ve noticed on the profiler that the cpu is mostl…

---

## [Optimisation While loading GLb trough URL?](https://discussions.unity.com/t/optimisation-while-loading-glb-trough-url/1701266)

<div class="topic-metadata">

**Author:** [@Raghuram\_spatialgrid](https://discussions.unity.com/u/Raghuram_spatialgrid)\
**Replies:** 4\
**Last updated:** [December 24, 2025, 2:40pm UTC](https://discussions.unity.com/t/optimisation-while-loading-glb-trough-url/1701266 "2025-12-24T14:40:40Z")

</div>

Hello, I have Loading the GLB Through URL, using GLTFast and UnityWebRequest to show the Progress Bar and Filesize, Although It is Successful , I Fell Like It is Not Optimised And Efficient !. I Tried to Optimised it thr…

---

## [CPU stutter during instantiation](https://discussions.unity.com/t/cpu-stutter-during-instantiation/1696809)

<div class="topic-metadata">

**Author:** [@sonshadowcat](https://discussions.unity.com/u/sonshadowcat)\
**Replies:** 6\
**Last updated:** [November 26, 2025, 4:33am UTC](https://discussions.unity.com/t/cpu-stutter-during-instantiation/1696809 "2025-11-26T04:33:53Z")

</div>

This is a fairly new issue for me that I don’t recall encountering just a few weeks ago. I’m currently using editor 6000.2.13f1 in Ubuntu. I have a spawner which spawns a low poly object every 5 seconds. According to th…

---

## [IMGUI taking 2ms per frame?](https://discussions.unity.com/t/imgui-taking-2ms-per-frame/1688879)

<div class="topic-metadata">

**Author:** [@Deeperbeige](https://discussions.unity.com/u/Deeperbeige)\
**Replies:** 3\
**Last updated:** [November 20, 2025, 5:25pm UTC](https://discussions.unity.com/t/imgui-taking-2ms-per-frame/1688879 "2025-11-20T17:25:22Z")

</div>

Does anybody know what this call is doing or how to remove/reduce it? This is from a profile of our in-dev game on the Quest 3, using Unity 6000.2.6f2. It looks like an old fashioned OnGUI call since it has IMGUI in the …

---

## [Profiler doesn't catch the first frame](https://discussions.unity.com/t/profiler-doesnt-catch-the-first-frame/1695226)

<div class="topic-metadata">

**Author:** [@Alenya](https://discussions.unity.com/u/Alenya)\
**Replies:** 2\
**Last updated:** [November 19, 2025, 8:25am UTC](https://discussions.unity.com/t/profiler-doesnt-catch-the-first-frame/1695226 "2025-11-19T08:25:45Z")

</div>

Unity 6.2.9f1 Case: I pause editor, launch the profiler, press play button, then move next, see changes on the scene, there is no frame in the profiler. Is this a bug?

---

## [GC - Unable to find reason for GC spike with coroutine call in collision on enter](https://discussions.unity.com/t/gc-unable-to-find-reason-for-gc-spike-with-coroutine-call-in-collision-on-enter/1689439)

<div class="topic-metadata">

**Author:** [@jordan\_unity864](https://discussions.unity.com/u/jordan_unity864)\
**Replies:** 14\
**Last updated:** [October 15, 2025, 9:06pm UTC](https://discussions.unity.com/t/gc-unable-to-find-reason-for-gc-spike-with-coroutine-call-in-collision-on-enter/1689439 "2025-10-15T21:06:04Z")

</div>

Hi folks, I’ve been struggling with finding the reason for a gc spike that happens in a collision handler. The handler starts a coroutine if one doesn’t already exist which then fires an event after a short delay. This s…

---

## [REGRESSION: profiler ignores drag event when clicking dragging on another module (IN-114690, 114689)](https://discussions.unity.com/t/regression-profiler-ignores-drag-event-when-clicking-dragging-on-another-module-in-114690-114689/1682152)

<div class="topic-metadata">

**Author:** [@laurentlavigne](https://discussions.unity.com/u/laurentlavigne)\
**Replies:** 3\
**Last updated:** [September 30, 2025, 7:49am UTC](https://discussions.unity.com/t/regression-profiler-ignores-drag-event-when-clicking-dragging-on-another-module-in-114690-114689/1682152 "2025-09-30T07:49:45Z")

</div>

yet another regression… click drag on a module, cpu for example then click drag on another module = no drag, only select other module should be select module + drag timeline, which is the proper behavior seen in 2020…

---

## [Why does Unity GPU Profiler report ~25ms when PIX shows ~50ms GPU frame time?](https://discussions.unity.com/t/why-does-unity-gpu-profiler-report-25ms-when-pix-shows-50ms-gpu-frame-time/1682243)

<div class="topic-metadata">

**Author:** [@wqc20040307](https://discussions.unity.com/u/wqc20040307)\
**Replies:** 0\
**Last updated:** [September 5, 2025, 4:31pm UTC](https://discussions.unity.com/t/why-does-unity-gpu-profiler-report-25ms-when-pix-shows-50ms-gpu-frame-time/1682243 "2025-09-05T16:31:20Z")

</div>

I’m profiling a HDRP example project and noticed a big difference between the GPU time shown in the Unity Profiler and the actual frame time I’m observing on the device. Environment: Unity version: 2022.3.62f1 Render …

---

## [How to optimize CPU utilization](https://discussions.unity.com/t/how-to-optimize-cpu-utilization/1681416)

<div class="topic-metadata">

**Author:** [@jamaster96](https://discussions.unity.com/u/jamaster96)\
**Replies:** 6\
**Last updated:** [August 31, 2025, 7:37am UTC](https://discussions.unity.com/t/how-to-optimize-cpu-utilization/1681416 "2025-08-31T07:37:32Z")

</div>

How to optimize CPU utilization. I’ve been following the latest docs to no avail. My CPU active time is multiple times higher than it should be and I simply have no idea how to reduce it. Everyone says “obviously just go…

---

## [Why my cpu is 15 ms while my gpu is 0.5 ms and how can i distribute workload](https://discussions.unity.com/t/why-my-cpu-is-15-ms-while-my-gpu-is-0-5-ms-and-how-can-i-distribute-workload/1680431)

<div class="topic-metadata">

**Author:** [@kader1081](https://discussions.unity.com/u/kader1081)\
**Replies:** 1\
**Last updated:** [August 24, 2025, 1:03pm UTC](https://discussions.unity.com/t/why-my-cpu-is-15-ms-while-my-gpu-is-0-5-ms-and-how-can-i-distribute-workload/1680431 "2025-08-24T13:03:14Z")

</div>

Hi, I have no idea why all the work is done by my cpu. When i check my cpu is 9ms even there is nothing on the scene. Most of the ms spend on the doRenderloop. How can i reduce that. there is about 500 batches. It is a …

---

## [EditorOnly \[GetComponentNullErrorWrapper\] creating 15.9MB Garbage on every ScriptReload](https://discussions.unity.com/t/editoronly-getcomponentnullerrorwrapper-creating-15-9mb-garbage-on-every-scriptreload/834250)

<div class="topic-metadata">

**Author:** [@John\_Leorid](https://discussions.unity.com/u/John_Leorid)\
**Replies:** 11\
**Last updated:** [August 16, 2025, 11:32am UTC](https://discussions.unity.com/t/editoronly-getcomponentnullerrorwrapper-creating-15-9mb-garbage-on-every-scriptreload/834250 "2025-08-16T11:32:17Z")

</div>

On every script reload, this strange entry appears in the profiler, creating a huge amount of garbage which slows down iteration times significantly. What is this? How can I get rid of it? Using Unity Version 2020.1.17…

---

## [Detecting weird spikes in profiler](https://discussions.unity.com/t/detecting-weird-spikes-in-profiler/1676326)

<div class="topic-metadata">

**Author:** [@Ritbulau](https://discussions.unity.com/u/Ritbulau)\
**Replies:** 5\
**Last updated:** [August 12, 2025, 1:15pm UTC](https://discussions.unity.com/t/detecting-weird-spikes-in-profiler/1676326 "2025-08-12T13:15:13Z")

</div>

I have a strange problem: Some time ago my game aquiered weird stutters on thin air, after looking into profiler I noticed that unity randomly decides to update random things longer than normal, both on filled and almos…

---

## [Profiling Issue](https://discussions.unity.com/t/profiling-issue/1667705)

<div class="topic-metadata">

**Author:** [@santosh\_unity244](https://discussions.unity.com/u/santosh_unity244)\
**Replies:** 4\
**Last updated:** [August 8, 2025, 6:05am UTC](https://discussions.unity.com/t/profiling-issue/1667705 "2025-08-08T06:05:06Z")

</div>

Hi, I am facing an issue where I dont know what is going wrong on profiler window. I am testing a game on iOS ( iphone-15) and sometimes i see a continuous lag pattern in my game, when it starts showing up it keeps on un…

---

## [What is "others" in the profiler?](https://discussions.unity.com/t/what-is-others-in-the-profiler/1672073)

<div class="topic-metadata">

**Author:** [@feref28](https://discussions.unity.com/u/feref28)\
**Replies:** 4\
**Last updated:** [August 5, 2025, 11:47am UTC](https://discussions.unity.com/t/what-is-others-in-the-profiler/1672073 "2025-08-05T11:47:51Z")

</div>

I thought my framerate was getting low due to code, but after opening the profile I saw that nearly everything and half of it in worst cases was caused by “others”… but what’s that? I have no animations, sound or anythi…

---

## [Is there any way to add customized marker in iOS profiler(Instruments)](https://discussions.unity.com/t/is-there-any-way-to-add-customized-marker-in-ios-profiler-instruments/1667850)

<div class="topic-metadata">

**Author:** [@geraldli](https://discussions.unity.com/u/geraldli)\
**Replies:** 0\
**Last updated:** [July 16, 2025, 6:40pm UTC](https://discussions.unity.com/t/is-there-any-way-to-add-customized-marker-in-ios-profiler-instruments/1667850 "2025-07-16T18:40:27Z")

</div>

On iOS, OSSignPoster can be used for adding marker in profile traces of Instruments. Is Unity API able to add that in iOS build? (On Android, Unity profiler marker can be used for adding customized Perfetto trace event…

---

## [Please help with scrambled IL2CPP stack when profiling](https://discussions.unity.com/t/please-help-with-scrambled-il2cpp-stack-when-profiling/1651141)

<div class="topic-metadata">

**Author:** [@sebas771](https://discussions.unity.com/u/sebas771)\
**Replies:** 4\
**Last updated:** [June 19, 2025, 4:44pm UTC](https://discussions.unity.com/t/please-help-with-scrambled-il2cpp-stack-when-profiling/1651141 "2025-06-19T16:44:08Z")

</div>

When I profile GC.Alloc with an android IL2CPP player, the stacks are all over the place and completely useless. This is true regardless the configuration (using a debug build with IL2CPP compilation set to debug) is t…

---

## [Stuttering and general framerate drops after 1-3 hours of play](https://discussions.unity.com/t/stuttering-and-general-framerate-drops-after-1-3-hours-of-play/1655419)

<div class="topic-metadata">

**Author:** [@psychicsoftware](https://discussions.unity.com/u/psychicsoftware)\
**Replies:** 13\
**Last updated:** [June 17, 2025, 1:07pm UTC](https://discussions.unity.com/t/stuttering-and-general-framerate-drops-after-1-3-hours-of-play/1655419 "2025-06-17T13:07:32Z")

</div>

My game is suffering from stuttering (sometimes 2+ seconds paused on a single frame) and general performance degradation over time. A memory leak would seem like the obvious issue, but even after 6 hours stress-testing t…

[Next page](https://discussions.unity.com/tag/cpu-profiler/159378.md?match_all_tags=true&page=1&tags%5B%5D=CPU-Profiler)
