Unhandled Exception: EXCEPTION_PRIV_INSTRUCTION Error

This crash that I have been recieving has been going on for quite some time now, it randomly occurs when doing various different tasks, such as even just trying to tab into the engine after it loads, attempting to package my game, or even play testing my game in engine. I have also done a large amount of things in order to fix this but to no avail, such as reinstalling the engine, clearing some project files such as intermediate and saved, with no avail either. I also tried switching to NVIDIA Studio drivers as I heard those have greater stability for creative applications, and it seems that helped a bit with the crashes, but it is still happening frequently. I’d also like to mention the sheer size of my project, which is 300+ GB’s now, so I feel that may have a role in it, but I’m not entirely sure. Any help would be appreciated.

image

1 Like

I would take a look at each element in the error message.

For instance, you seem to have an issue with the GDI:

And the InkObj:

https://answers.microsoft.com/en-us/msoffice/forum/all/cant-open-some-files-because-of-inkobjdll-issues/e951db39-f455-4554-b091-21dcd96fda51

I suspect you have corrupted Windows source files. So you may need to reinstall Windows.

Thanks for the reply, I would consider reinstalling Windows only if this issue was persisting in every project. I can open other projects and play just fine with zero crashes, so it seems to be a selective issue to mine. I’ll take a look at the gdi32 thing you sent.

EDIT: I also noticed the Stylus thing, which I seemed to solve by unplugging my Wacom tablet from my PC. That’s a start I guess.

1 Like

300GB is massive, and not every project is going to call every executable .dll (or any other) file.

An example:

To use MetaHumans you MUST have Visual Studio installed.

I had been using Unreal with zero issue, but the moment I started using the MetaHumans, I got stacks of errors.

This may be an issue you can side-step. Just keep in mind that if it IS core file corruption, even if you solve this issue, you could have more issues down the road… Or not.

Good point. I did notice though weirdly enough that after I switched to using a hardware cursor instead of software for my project, that’s when the often crashes when play testing my game in-engine occured. But yeah, even after performing some system fixes I still randomly get the crash. I have to continue digging I guess and see what could be causing it inside my project.