Hello all,
Currently. unreal engine crashes if I try to compile my third person character blueprint, but only on the fifth time compiling it.
It does not crash if I compile other blueprints. ONLY the third person character I have created. It has no construction script, but several variables, and one or two structs.
The weird part is that there is no error on the blueprint compiling itself, or warnings. The blueprint compiles just fine. It just happens to crash the 5th compile, with no warning, or indication of why it happened.
It is also the only blueprint open when I compile, so I am sure it’s related to that one blueprint.
Is there any way I can track down the cause of this? Is it an array possibly that is being compiled/garbage collected? Thanks in advance, any help is appreciated.
Hello IcemanX,
I was unable to reproduce this issue on our end. 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 issue in a clean project?
- If so, could you provide a detailed list of steps to reproduce this issue on our end?
- Could you provide screen shots of any blueprints/settings that may be involved with this issue?
- Could you provide the complete callstack (Including Machine ID) for the crash that you are getting?
Hello ,
1.I can migrate my third person character to a clean new project, and it will still crash when compiled a second+ time.
2.The third person character is very complex blueprint wise, but I will see if I can skim it down to a version I could build quickly that causes the crash. I think it is either array or struct related, because it crashes in the gamemode blueprint too, and both contain arrays and structs.
3.I could provide screenshots, but the blueprint is so extensive, I believe it could be crashing for multiple reasons.
4.I’m not sure what the callstack is. However, I can provide the machine ID:
MachineId:
EpicAccountId:
The callstack would be the information that is provided in the “Crash report data” field (empty in the current example). If you are able to trim down the project, could you provide it so that I could take a closer look?
Example Crash report:
Update, I’ve gotten it to stop crashing by deleting this function in the third person character:
I will include the original function on the playercontroller also, even though I made no changes to it:
This event on the player controller is still called in other places, it seems to only crash when I compile the third person character more than two or so times.
I’ll see if I can trim it down to give you a version to look at.
Also, my call stack was empty like the example, it just contained the machine and account id.
I am happy to hear that you were able to prevent the crash. However, I have been unable to reproduce this issue on our end. Could you provide a zipped down copy of the project that is resulting in the crash so that I could take a closer look?
Update: the problem came back after five days, and I have no idea what is causing it. It would seem it’s blueprint corruption on the Third person character. I am still trying to cut it down to a smaller size for you , I don’t want to send a 2GB file if I can help it.
Thank you for the update. Let me know when you have something you can provide for me to take a look at and I will be happy to assist you further.
I am having all kinds of issues with this . Perhaps you can help me:
I believe the problem is due to blueprint corruption, as no matter what changes I make, It ends up crashing after compiling sometimes, unless I delete all of the blueprint code.
My partner and I use perforce internally, and we caught this crash happening after a particular commit, where only six blueprint nodes were added, but removing them makes the crashing continue.
I am able to trim the test project down to 2GB, but I am having difficulty trimming art assets out without affecting the main blueprint causing the crash.
I’ve also noticed that if I duplicate the character blueprint, the duplicate does not crash. I’m attempting to use replace references to merge the original with the duplicate, but I get a critical failure error.
Nothing I do works, and I do not know what to do. Also, Since I’ve tried to remove the possible causes and it still crashes, yet if I remove everything it does NOT crash, I am at my wits end. Could this be blueprint corruption?
If I gave you the unchanged blueprint (It’s very complex, but it DOES crash when you compile it) would you be able to work with that?
Oh god I am having the same exact problem. I compiled 2 or 3 times my character without problems and at some point it’s going to crash stating Unhandled Exception : EXCEPTION_ACCESS_VIOLATION reading address 0x00000021 (sometimes it’s 0xffffff). UE4Editor-CoreUObject.dll (6 times), UE4Editor-UnrealED.dll (6 times too) saying things about Kismet, Slate USER32.dll. The character blueprint have no construction script and no error in during the compile. Always a green check mark.
Hello IcemanX,
If you could provide the blueprint that causes the crash that you are seeing, it would help by giving me access to the complete callstack.
Hello IcemanX,
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.
Thanks,