4.7 b5 constant crashing

I’m getting constant crashes similar to this:

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

I think it’s related to blueprint structs that reference other blueprint structs. For example I have a cabinet data struct (I’m making a procedural cabinet system for arcviz stuff) which contains cabinet width, height, material, etc, and a cabinet door struct which has it’s own size and material values.

On top of crashing I’m also encountering issues where data in blueprint struct is reset to some default arbitrary value when simulating or running game. These values then overwrite stored values in struct.

Hi electricsauce,

Can you attach log from project after this crash occurs? Thanks!

This crash happened when dragging a blueprint into scene. There are numerous physics warning which are related to building procedural geometry. They didn’t cause any problems with 4.6.1. Let me know if you need entire project.

link text

This log is not terribly helpful. Do crashes only occur with blueprints that use cabinet struct information? Is there an action that consistently causes crash?

If you’d like to upload project somewhere and give me a link, I can take a look.

I sent you a link via IM on forums. Try dragging a new Pro_cabinet into scene and under Data - door num change from left swing to double or right swing and that usually is enough to get it to crash.

I looked into project, and after dragging a new Pro_Cabinet into level I wasn’t able to get a crash. I changed NumberofDoors default, and then started changing any other defaults, and nothing produced a crash. Does your crash always involve changing values for variables on one of these Blueprints in level?

I uploaded a video to of issue. I was able to produce a crash by simply selecting a tab in blueprint screen. In second instance I wasn’t able to make it crash (I’m a little short on time at moment) but it shows how data gets corrupted after making slight changes to blueprint. information in data cabinet data struct(data) of pro_cabinet blueprint gets reset sometimes when playing in viewport ( or simulating). This seems to specifically affect static mesh items handle and drawer pull by resetting them to null.

Thanks for taking a look at this.

Okay, so now I’m getting a few different crashes with that BP actor, some from moving it around in level, some from making changes in graph. I’m going to need to spend some time finding cause, and I’ll let you know what I find.

There are some known issues with Struct variables in Blueprints changing their values, and I’ll check to see if that’s what’s happening here as well.

Hi electricsauce,

I apologize for delay, I was out sick for a week and then we had a bunch of snow days. Are you still experiencing frequent crashes with 4.7.1?

It seems to be a lot more stable now. It only crashes now when I do something that I shouldn’t. Thanks for help.

Great! Let me know if any of these issues start to pop up again.