# UnrealEditor.exe (nvwgf2umx.dll) 0xC0000005 100% reproduced crash

**URL:** <https://forums.unrealengine.com/t/unrealeditor-exe-nvwgf2umx-dll-0xc0000005-100-reproduced-crash/764615>\
**Category:** C++\
**Tags:** unreal-engine, crash, bug-report, question, CPP\
**Created:** [February 6, 2023, 8:43am UTC](https://forums.unrealengine.com/t/unrealeditor-exe-nvwgf2umx-dll-0xc0000005-100-reproduced-crash/764615 "2023-02-06T08:43:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ngenion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ngenion](https://forums.unrealengine.com/u/Ngenion)\
**Post date:** [February 6, 2023, 8:43am UTC](https://forums.unrealengine.com/t/unrealeditor-exe-nvwgf2umx-dll-0xc0000005-100-reproduced-crash/764615/1 "2023-02-06T08:43:57Z")

</div>

Hello, I have crash.  
Version UE5.1. No external plugins. Cpp project. MSVS 2022 for code.  
I do my things at my main project. And once, after i close game window, VS give me error message:  
“An exception was thrown at 0x00007FF932B37BB7 (nvwgf2umx.dll) in UnrealEditor.exe: 0xC0000005: access violation while reading at address 0x000001F4F2580010.”  
After it i have 100% repitable this error in this project (after closing game window).

I try create new project (third person), without any new code. But this problem follow me and in this new project. But in other place: Open menu “Change play mode and Play settings” → close it by click in any place → crash"  
I reinstall UE and this gives no results.

Actually in MSVS i can hide this exception in Debug-\>Windows-\>Exception Params-\> Win32-\> 0xC0000005 (both checks) but i think its not the solution.  
Because my output in MSVS, while running, fully filled errors like: “An exception was thrown at 0x00007FF932B37BB7 (nvwgf2umx.dll)…”

P.S. sometimes this error displaying in random places, while im using editor.

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [February 6, 2023, 9:45am UTC](https://forums.unrealengine.com/t/unrealeditor-exe-nvwgf2umx-dll-0xc0000005-100-reproduced-crash/764615/2 "2023-02-06T09:45:22Z")

</div>

Try disabling any custom code or plugins in your project and see if the issue persists. Verify that the system requirements for Unreal Engine 5.1 are met and that your graphics card drivers are up to date. I would even suggest that you try reinstalling Visual Studio 2022 and the Windows C++ redistributables to see if this resolves the issue.

---

<div class="post-metadata">

**Author:** ![Ngenion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ngenion](https://forums.unrealengine.com/u/Ngenion)\
**Post date:** [February 8, 2023, 5:18am UTC](https://forums.unrealengine.com/t/unrealeditor-exe-nvwgf2umx-dll-0xc0000005-100-reproduced-crash/764615/3 "2023-02-08T05:18:29Z")

</div>

TY for answer i will try it.

---

<div class="post-metadata">

**Author:** ![eblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eblade](https://forums.unrealengine.com/u/eblade)\
**Post date:** [February 8, 2023, 6:28am UTC](https://forums.unrealengine.com/t/unrealeditor-exe-nvwgf2umx-dll-0xc0000005-100-reproduced-crash/764615/4 "2023-02-08T06:28:38Z")

</div>

Very highly likely that your code is using a UObject\* derivative that is not protected with a UPROPERTY macro

---

<div class="post-metadata">

**Author:** ![Ngenion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ngenion](https://forums.unrealengine.com/u/Ngenion)\
**Post date:** [February 9, 2023, 3:03am UTC](https://forums.unrealengine.com/t/unrealeditor-exe-nvwgf2umx-dll-0xc0000005-100-reproduced-crash/764615/5 "2023-02-09T03:03:34Z")

</div>

Yeah, i have a lot of UObject childs.  
I will try to add UPROPERTY to all props in project and do some tests.

---

<div class="post-metadata">

**Author:** ![Ngenion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ngenion](https://forums.unrealengine.com/u/Ngenion)\
**Post date:** [February 9, 2023, 5:12am UTC](https://forums.unrealengine.com/t/unrealeditor-exe-nvwgf2umx-dll-0xc0000005-100-reproduced-crash/764615/6 "2023-02-09T05:12:56Z")

</div>

So:

- Add UPROPERTY to every class-prop in project
- Reinstall engine and update it to 5.11. Why not? 🙂
- Done a lot of stuff from 1st comment  
Nothing changed ☹

---

<div class="post-metadata">

**Author:** ![eblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eblade](https://forums.unrealengine.com/u/eblade)\
**Post date:** [February 9, 2023, 3:11pm UTC](https://forums.unrealengine.com/t/unrealeditor-exe-nvwgf2umx-dll-0xc0000005-100-reproduced-crash/764615/7 "2023-02-09T15:11:13Z")

</div>

Well it’s likely that you’ve got some sort of error occurring during garbage collection, and you’ll probably have to use the debugger to see what’s actually blowing up and how.

---

<div class="post-metadata">

**Author:** ![Ngenion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ngenion](https://forums.unrealengine.com/u/Ngenion)\
**Post date:** [February 28, 2023, 1:40pm UTC](https://forums.unrealengine.com/t/unrealeditor-exe-nvwgf2umx-dll-0xc0000005-100-reproduced-crash/764615/8 "2023-02-28T13:40:26Z")

</div>

I think i solve the problem.  
In my main proj i used ConstructorHelpers for find DataTables.  
Once, i build game package with Development build. (Platforms-\>windows-\>Development)  
When i tried to run game and it was crashed. On one of ConstructorHelpers calls.  
Having studied stack trace, i saw smth like engine async loading function. I think this loading are problem.  
I think debug mode loading step by step, not async. And dont crash.

**So the solution:**  
Use this, instead of constructor helper. And use it after constructor called (i call in BeginPlay)

```auto
FSoftObjectPath dtPath= TEXT("/path/to/dt_name.dt_name");
	if (dtPath.IsValid()) {
		if (auto* dt= Cast<UDataTable>(dtPath.TryLoad())) {
			...
		}
	}

```

---

<div class="post-metadata">

**Author:** ![eblade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eblade](https://forums.unrealengine.com/u/eblade)\
**Post date:** [March 1, 2023, 7:10am UTC](https://forums.unrealengine.com/t/unrealeditor-exe-nvwgf2umx-dll-0xc0000005-100-reproduced-crash/764615/9 "2023-03-01T07:10:56Z")

</div>

Make a Blueprint of your class, and specify the DataTable there, and use that Blueprint instead of the Class for whatever it is. Putting hard paths in code is usually bad.
