When I try to run our project outside of editor, either by packaging or running from Visual Studio, the game crashes and the last thing in VS output is this:
[2014.06.30-10.02.15:323][ 0]LogMemory: 27264K allocated in pools (with 2422K slack and 1469K waste). Efficiency 94.61%
[2014.06.30-10.02.15:323][ 0]LogMemory: Allocations 91257 Current / 747662 Total (in 426 pools)
[2014.06.30-10.02.15:323][ 0]LogMemory:
D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.2\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp(2918): Assertion failed: GetStructureSize() >= sizeof(UObject)
Ancestory.exe has triggered a breakpoint.
I tried reverting to build when everything worked but it’s not helping. What might be causing this? If any additional details are required, just ask and I’ll deliver. Thanks!
My colleague was able to package the project on her machine (which is weird since we have same hardware setup and project version), but the crash still occurs with the packaged game. I attached all the log files from WindowsNoEditor/ProjectName/Saved/Logs
Thank you for providing the logs for this issue. Would you be able to narrow it down at all? We won’t be able to investigate your entire project, but if you can narrow the down the culprit to one or two levels, classes, or assets, we can help look through those to find out what is happening.
While I was cutting stuff from the project to narrow the problem down, I got it to run even when packaged but for some reason my character Begin Play is not called. I added print string right after the character begin play and it doesn’t get printed. This is probably just hiding the real crash issue because there is basically nothing done when the game starts (our level is generated at runtime). Again the game runs fine in editor. Could you provide an email address so I could send the link to our zipped project to you?
If you would like to provide a link to you project, you can send me a private message on the forums (https://forums.unrealengine.com/member.php?4893--). My username there is the same as it is here.
I forgot to ask, what version of the Engine are you using, and are you using the Engine built from source, or running from binaries through the Launcher?
Edit It looks like you may be using 4.2 from source. I will try using that version unless you mention that you are using something different.
I am getting the EXACT same error and narrowed it down to a single changeset in our perforce depot, i can send you the before and after if you would like.
It’s just a bunch of blueprint changes, which will prolly be painful as the error looks like it is in core? just a guess.
I have been looking around in the project for a while, and even though I can easily reproduce the issue that you described, every time I think I may have figured it out, it turns out to be a false trail. I will probably need to get a few extra eyes on this to track this issue down.