Crash on closing PIE or BP
I'm having a crash every time I close a PIE session or closing my character BP window. this never happened in 4.9 and I haven't touched my code in months (probably since 4.7). just recently I converted it from 4.9 to 4.10 and now that I actually tried to play I get this crash.
so whenever I do PIE and close it, or open my character blueprint and close it, the engine will crash into this:
this is the callstack for the PIE crash:
and this is the callstack for closing my character BP:
in both cases it crashes into USceneComponent::OnComponentDestroyed(), on this line:
I checked with the debugger and ChildCount is 1, and AttachChildren.Num() is also 1. and the scenecomponent definately looks like it's owned by my Character.
maybe it's worth pointing out that I use several other custom-made C++ Components that I attach to my Character.
any ideas of something new that could introduce this?
This issue has been entered into our system (UE-23366) and has been fixed internally. The fix will be available in a later version. For now, if you are still experiencing the crash, I recommend using the hotfix that Cø provided.
Have a great day,
answered Dec 02 '15 at 01:29 PM
Sean L ♦♦ STAFF
Hi, we had the exact same issue while upgrading to 4.10.
In void USceneComponent::OnComponentDestroyed() while looping on children one of them has its AttachParent null (we didn't found how it is even possible to be in AttachChildren list without having any AttachParent).
We hot fixed our engine sources to handle this case:
Hope it helps.
answered Nov 20 '15 at 06:20 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here