Editor crash when root static mesh component not filled with static mesh

Our artist created a blueprint with a static mesh component as root component. But he didn’t assigned any mesh to it, causing editor to always crash when game was stopped, with a exception of type :

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

We lost many hours investigating that problem, removing each object of map until we found which was causing crash, and where it was coming from… This kind of cryptic error should be avoided!

Hi swantiez,

I wasn’t able to reproduce this crash in 4.5.1 or in 4.6 Preview. Does this happen in a new project, or only in your current project? If you bring that same Blueprint into another project, does that project crash in same way? Does your BP’s Event Graph reference root anticipating a mesh being assigned?

Please and attach crash log and dump file for your project after this crash. Thanks!

Hey swantiez,

We haven’t heard back from you in a while, so I’m marking this post resolved for tracking purposes. If this crash still occurs for you, please answer questions asked above and attach your crash log so we can begin investigating. Thanks!