# Editor stuck loading at 75%, 0% CPU usage \[SOLUTION\] 

**URL:** <https://forums.unrealengine.com/t/editor-stuck-loading-at-75-0-cpu-usage-solution/2068597>\
**Category:** Issues and Bug Reporting\
**Tags:** c-c, c-class-wizard, c-and-bluepri, c-custommeshcomponen, c-and-blueprint, c-error, c-class, c-custom-shape, c-programming, c-cone-shape, unreal-engine, editor, CPP, Blueprint\
**Created:** [October 14, 2024, 10:07pm UTC](https://forums.unrealengine.com/t/editor-stuck-loading-at-75-0-cpu-usage-solution/2068597 "2024-10-14T22:07:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Fulezi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fulezi/32/813318_2.png) [@Fulezi](https://forums.unrealengine.com/u/Fulezi)\
**Post date:** [December 6, 2024, 9:46am UTC](https://forums.unrealengine.com/t/editor-stuck-loading-at-75-0-cpu-usage-solution/2068597/2 "2024-12-06T09:46:56Z")

</div>

**TL;DR;**  
The root cause of the issue is " casting the game mode to your custom game mode in a class that’s _ **also referenced by your game mode** _". (quoting [Editor launch stuck at 72% due to a blueprint issue - #2 by Deiain](https://forums.unrealengine.com/t/editor-launch-stuck-at-72-due-to-a-blueprint-issue/418227/2))

**SOLUTION**  
In my case, the issue was related to a `KingOfTheHillGameState` script that included a cast to `KingOfTheHillGameMode`. This same GameMode also referenced the same GameState, causing a circular dependency issue.

 ![UnrealEditor_gQBFYj7col](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/1/20131f2ff93045dc4f6c99dd2ca971dfd5892244.png)

I identified the problem using Git: I compared the current HEAD with a previous commit (one I knew was working) and reverted the file I suspected was causing the issue.

It turned out that a dangling cast was responsible for the error.

---

_[View the full topic](https://forums.unrealengine.com/t/editor-stuck-loading-at-75-0-cpu-usage-solution/2068597)._
