# Must I be adapted to often crashes of the unreal editor?

**URL:** <https://forums.unrealengine.com/t/must-i-be-adapted-to-often-crashes-of-the-unreal-editor/546023>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [May 1, 2022, 9:56pm UTC](https://forums.unrealengine.com/t/must-i-be-adapted-to-often-crashes-of-the-unreal-editor/546023 "2022-05-01T21:56:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ReekinL1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ReekinL1](https://forums.unrealengine.com/u/ReekinL1)\
**Post date:** [May 1, 2022, 9:56pm UTC](https://forums.unrealengine.com/t/must-i-be-adapted-to-often-crashes-of-the-unreal-editor/546023/1 "2022-05-01T21:56:36Z")

</div>

Well I’m a new comer from Unity and feeling confused that the unreal has no sandbox to prevent the editor from crashing cause by gameplay logic errors.

When with unity, I often encounter null reference errors, which just cause an error in Console. I don’t think I can make sure my code is perfect, and mistakes are unavoilable.

But in UE the punishment of such mistake is crash, making me much more interrupted and frustrated. What’s more, the memory has to reload all the editor datas after crash, so I have to face to the slow first-time loading again and again, which is really torturing when working in a large project.

I have asked my colleagues but they said “This is C++”.  
So is getting adapted to it the only thing I can do? It sounds so horrible.

---

<div class="post-metadata">

**Author:** ![Ares9323](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ares9323/32/1194521_2.png) [@Ares9323](https://forums.unrealengine.com/u/Ares9323)\
**Post date:** [May 1, 2022, 10:08pm UTC](https://forums.unrealengine.com/t/must-i-be-adapted-to-often-crashes-of-the-unreal-editor/546023/2 "2022-05-01T22:08:11Z")

</div>

If you don’t want that to happen you can turn the editor through the visual studio debugger and it will pause the editor on every exception (but then it will crash).

In a nutshell, yes, you have to get used to it…

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [May 2, 2022, 6:21am UTC](https://forums.unrealengine.com/t/must-i-be-adapted-to-often-crashes-of-the-unreal-editor/546023/3 "2022-05-02T06:21:49Z")

</div>

Yes, in C++ you often work directly with the memory, and if you try to do anything with a pointer that’s not valid you get a crash. Just get used to checking the validity of pointers if there’s even a slight chance of them being nullptr.
