# Blueprint reference keeps breaking after restarting the editor (following official tutorial) 

**URL:** <https://forums.unrealengine.com/t/blueprint-reference-keeps-breaking-after-restarting-the-editor-following-official-tutorial/2624581>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, editor, question, Blueprint\
**Created:** [July 31, 2025, 2:51am UTC](https://forums.unrealengine.com/t/blueprint-reference-keeps-breaking-after-restarting-the-editor-following-official-tutorial/2624581 "2025-07-31T02:51:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![WayAway](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WayAway](https://forums.unrealengine.com/u/WayAway)\
**Post date:** [July 31, 2025, 2:29pm UTC](https://forums.unrealengine.com/t/blueprint-reference-keeps-breaking-after-restarting-the-editor-following-official-tutorial/2624581/3 "2025-07-31T14:29:11Z")

</div>

on a second thought i wish i would’ve just searched for the solution first 🙂 like i said i remember i saw a bunch of similar topics but i never saw if someone found the solution. And someone sure did, oh well… they actually suggested to remove only 2 lines, i removed all 4 and everything worked anyway (i think 😅). I have no idea if they are needed or not 🙂 but if it works with them, better leave them be…

> [@I am unable to make my C++ classes survive a restart in Unreal 5.6](https://forums.unrealengine.com/t/i-am-unable-to-make-my-c-classes-survive-a-restart-in-unreal-5-6/2560725):
>
> I am trying to follow [Set Up and Compile a C++ Project in Unreal Engine | Unreal Engine 5.6 Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/unreal-engine/set-up-and-compile-a-cplusplus-project-in-unreal-engine) in Unreal 5.6 However when I parent a blueprint off of a C++ class, save, compile and exit unreal, when I restart it, The blueprint not only is no longer parenteded,giving me the error Blueprint could not be loaded because it derives from an invalid class. Check to make sure the parent class for this blueprint hasn't been removed! Do you want to continue (it can …

> [@Blueprint lost link to C++ class after each restart](https://forums.unrealengine.com/t/blueprint-lost-link-to-c-class-after-each-restart/2568363):
>
> Hi ! I’m new to Unreal Engine, and I’m currently following the tutorial of Unreal on Get Started : I’m currently on “Code a First-Person Adventure Game”. It’s the first course using C++ classes. I have medium-low prior knowledge on coding, mainly C# for Unity, and some other languages for work that I barely use. But almost never in C++. All this to say that I don’t have a lot of knowledge about compiling/making build of code, it usually was quite invisible in my previous work. So I’m not co…

---

_[View the full topic](https://forums.unrealengine.com/t/blueprint-reference-keeps-breaking-after-restarting-the-editor-following-official-tutorial/2624581)._
