# Unreal 5 Crashing on Project Startup Issue

**URL:** <https://forums.unrealengine.com/t/unreal-5-crashing-on-project-startup-issue/884188>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [April 10, 2023, 8:33pm UTC](https://forums.unrealengine.com/t/unreal-5-crashing-on-project-startup-issue/884188 "2023-04-10T20:33:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![LockeKosta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LockeKosta](https://forums.unrealengine.com/u/LockeKosta)\
**Post date:** [April 10, 2023, 8:33pm UTC](https://forums.unrealengine.com/t/unreal-5-crashing-on-project-startup-issue/884188/1 "2023-04-10T20:33:15Z")

</div>

I have an issue where UE5 is crashing consistently when I try to open my project. This happened after pushing code change, which is denoted in the below error log:

```auto
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000210

UnrealEditor_Engine
UnrealEditor_MyProject_3688!AMainPlayer::AMainPlayer() [C:\Users\User\Documents\Unreal Projects\MyProject\Source\MyProject\MainPlayer.cpp:22]
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Projects
UnrealEditor_Projects
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

```

I realized the issue immediately, but can’t get the project open to save my life. I’ve tried:

Changing the script, even completely deleting the new code altogether.  
Deleting the Saved folder  
Deleting the Saved and Intermediate folders  
Deleting the Saved and Intermediate folders along with the script in question.

Anyone know how to fix this?

---

<div class="post-metadata">

**Author:** ![ScrewdriverHyena](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/screwdriverhyena/32/679006_2.png) [@ScrewdriverHyena](https://forums.unrealengine.com/u/ScrewdriverHyena)\
**Post date:** [April 10, 2023, 10:22pm UTC](https://forums.unrealengine.com/t/unreal-5-crashing-on-project-startup-issue/884188/2 "2023-04-10T22:22:00Z")

</div>

You may want to download the editor debugging symbols so that you can see exactly what is causing the crash, and make the change in your code to accommodate.

---

<div class="post-metadata">

**Author:** ![LockeKosta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LockeKosta](https://forums.unrealengine.com/u/LockeKosta)\
**Post date:** [April 10, 2023, 10:40pm UTC](https://forums.unrealengine.com/t/unreal-5-crashing-on-project-startup-issue/884188/3 "2023-04-10T22:40:00Z")

</div>

I made the change in the code. Even reverted the script back to what worked previously. Doesn’t work, still screams about the same line. I can’t open the project to compile the changes either.

---

<div class="post-metadata">

**Author:** ![ScrewdriverHyena](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/screwdriverhyena/32/679006_2.png) [@ScrewdriverHyena](https://forums.unrealengine.com/u/ScrewdriverHyena)\
**Post date:** [April 10, 2023, 11:47pm UTC](https://forums.unrealengine.com/t/unreal-5-crashing-on-project-startup-issue/884188/4 "2023-04-10T23:47:19Z")

</div>

Compile from your IDE, not from the Editor. It’s still running off of the old Binaries, so it’s going to continuously crash until you rebuild from your IDE.

---

<div class="post-metadata">

**Author:** ![LockeKosta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LockeKosta](https://forums.unrealengine.com/u/LockeKosta)\
**Post date:** [April 10, 2023, 11:58pm UTC](https://forums.unrealengine.com/t/unreal-5-crashing-on-project-startup-issue/884188/5 "2023-04-10T23:58:47Z")

</div>

How would I go about doing that in Visual Studio 2022? Google is not bringing up any answers and nothing is jumping out as being able to do that. Only option under Build is Run Code Analysis on Solution.

---

<div class="post-metadata">

**Author:** ![ScrewdriverHyena](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/screwdriverhyena/32/679006_2.png) [@ScrewdriverHyena](https://forums.unrealengine.com/u/ScrewdriverHyena)\
**Post date:** [April 11, 2023, 12:02am UTC](https://forums.unrealengine.com/t/unreal-5-crashing-on-project-startup-issue/884188/6 "2023-04-11T00:02:02Z")

</div>

Going off of memory since I mainly use Rider, but once you’ve opened your project’s .sln file, you should be able to just click on the green “Play” button on the top bar of VS2022. This should build your project. If not, finding the project in the solution explorer on the right side of the screen, and right clicking it, should reveal a “Build” option.

---

<div class="post-metadata">

**Author:** ![LockeKosta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LockeKosta](https://forums.unrealengine.com/u/LockeKosta)\
**Post date:** [April 11, 2023, 12:06am UTC](https://forums.unrealengine.com/t/unreal-5-crashing-on-project-startup-issue/884188/7 "2023-04-11T00:06:21Z")

</div>

I found a resource that looks like the right thing and follows what you’re talking about, trying it out

---

<div class="post-metadata">

**Author:** ![LockeKosta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LockeKosta](https://forums.unrealengine.com/u/LockeKosta)\
**Post date:** [April 11, 2023, 12:17am UTC](https://forums.unrealengine.com/t/unreal-5-crashing-on-project-startup-issue/884188/8 "2023-04-11T00:17:14Z")

</div>

Got it working again. Partially from your suggestion and partially from the answer here: [Cannot open source file name.generated.hc](https://forums.unrealengine.com/t/cannot-open-source-file-name-generated-hc/413312)

Thanks. Was a good learning experience.
