Ue4 Crashing

Im using UE4.6, doing a blueprint game suddenly while playing in editor it crashes,
it happens when I load level stream. I don’t know what I did wrong 0.0 nothing was deleted or anything like that.

Here’s the error that it generates:

Access violation - code c0000005 (first/second chance not available)

Ensure condition failed: false [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.6\Engine\Source\Runtime\Engine\Private\SceneComponent.cpp] [Line: 760]
Template Mismatch during attachment. Attaching instanced component to template componen

UE4Editor_Engine + 6500582 bytes
UE4Editor_Engine + 5046435 bytes
UE4Editor_Engine + 9772300 bytes
UE4Editor_Engine + 10027069 bytes
UE4Editor_Engine + 10025809 bytes
UE4Editor_Engine + 3543489 bytes
UE4Editor_Engine + 9302478 bytes
UE4Editor_UnrealEd + 1806471 bytes
UE4Editor_UnrealEd + 6686342 bytes
UE4Editor!FEngineLoop::Tick() + 3876 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launchengineloop.cpp:2214]
UE4Editor!GuardedMain() + 479 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launch.cpp:131]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

Hey MezioPleo,

Does this crash only happen when you load a streaming level? What method are you using to load the level (streaming volume, or load level node in a blueprint)? Does this happen with any streamed level, or only one? Does it happen in a new project, or only your existing project? Any other details might that might be helpful?

Please zip and attach the project logs after this crash, as well. Thanks!

Hey Ben, I figure out the cause of the crash, I brainstormed a little bit and this line made me check one of my characters who’s loop was launched at even begin play. I stopped his loop from triggering at the start and it seemed to have fixed the issue.


Ah, an infinite loop crash? Was the character in the streaming level?

Yes, he had randomized attacks and one of them had a loop that ran 6 times. I think its that loop that got actived upon level stream + character’s event begin play.