Why does my engine crash when opening with an access violation reading location?

Unhandled exception at 0x00007FFA0C2C17D6 (UE4Editor-Engine.dll) in UE4Editor.exe: 0xC0000005: Access violation reading location 0x0000000000000020.

I even started a new project to get around this - I know I’ve made errors but can we at least get some sort of warning so I can save my work?

I got past the crashing (it was random when I’d compile and play) it had to do with a bad cast node in my HUD code - I copied and pasted that script from my previous project

Hello BPANDREW,

Sorry about the crash. I’m glad you were able to figure out what was causing it, but the editor should have given you a warning or error instead of crashing. If you could please give us more information, like your crash logs and repro steps, that would help us fix the issue so it doesn’t happen again in the future. Here is a link that explain in more detail all the bits of information that help us.

Thank you for your report!

~Sam

4.2 has really helped with a lot of these issues