Most often it crashes after just a few seconds. Sometimes I can play up to 20 seconds. Doesn’t matter if multiplayer or singleplayer. Coworker has the same problem. Problem exists probably since 4.7.3.
Apparently it has something to do with the custom character class ‘MyCharacter’; have a look at the error log:
MachineId:B9583C1144759F5D15A7E09AC92499E0
EpicAccountId:a1ccd53fa2be4c999c0e53801a92194d
Unknown exception - code 00000001 (first/second chance not available)
Assertion failed: ((UObject*)ContainerPtr)->IsA((UClass*)GetOuter()) [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h] [Line: 357]
'MyCharacter_C_0' is of class 'MyCharacter_
KERNELBASE + 24684 bytes
UE4Editor_Core!FOutputDeviceWindowsError::Serialize() + 292 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor_Core!FOutputDevice::Logf__VA() + 248 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\misc\outputdevice.cpp:144]
Not sure if it’s the same case, but the only situation so far I had with this was deleting components on the character. Are you by any chance deleting any components?
The solution for me was simply disable them, instead of destroying the components.
I have a few questions for you that will help narrow down what issue it is that you are experiencing.
Quick questions:
Can you reproduce this in a clean project?
If so, could you provide a detailed set up steps to reproduce this issue on our end?
Could you provide screen shots of any of the blueprint(s) that may be involved with this issue?
Suggestions to help get your project back up and running while we investigate your issue:
Have you tried searching through the backup files that are automatically generated to a point before the issue(s) occurred? (The default directory is as follows: C:\Users\YourUserName\Documents\Unreal Projects\YourProjectName\Saved\Backup)
Have you tried moving your files over manually or using the migrate tool to move them to a clean project? I would recommend doing this a few files at a time to try and narrow down what part of your project it is that is causing this issue.
**summary: ** bug is probably still out there, but not an issue at the moment.
**long story: **
While investigating the issue, it suddenly disappeared! I have no clue to what I could’ve done to make it disappear, but it’s gone for me now. My partner however still has this issue. But for him, the game crashes when a certain music is stopped, for me it crashed at the beginning of the game.
I’m not sure this is the same bug, but the error log looks similar. At the moment this is not an issue, but I’ll keep an eye open for the bug and backup the whole project once it reappears. I think it’s best when I close this question for now. I’ll reopen it or open a new one if I run into this bug again.