Ensure condition failed: MyOwner && MyOwner->GetWorld()r

Hello,
I suddenly have this Log Spam:

[2015.08.24-09.17.12:439][215]LogOutputDevice: === Handled error: ===

Ensure condition failed: MyOwner && MyOwner->GetWorld() [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.8\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp] [Line: 843]

Stack: 
UE4Editor-Core.dll!FWindowsPlatformStackWalk::StackWalkAndDump() {0x00007fff32efac36} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Core.dll!FDebug::EnsureFailed() {0x00007fff32d94411} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Core.dll!FDebug::EnsureNotFalse_OptionallyLogFormattedEnsureMessageReturningFalse() {0x00007fff32d946c3} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Engine.dll!UActorComponent::RegisterComponent() {0x00007fff2dda7a8b} + 65 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-SnowballPVP.dll!AHeatSource::AHeatSource() {0x00007fff219b009f} + 0 bytes [i:\entwicklung\developed games\snowballpvp\source\snowballpvp
UE4Editor-CoreUObject.dll!StaticConstructObject_Internal() {0x00007fff334b4e7f} + 46 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!StaticDuplicateObjectEx() {0x00007fff334b558c} + 187 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!StaticDuplicateObject() {0x00007fff334b525d} + 10 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-UnrealEd.dll!FBlueprintCompileReinstancer::GetClassCDODuplicate() {0x00007fff2c3fe213} + 91 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-UnrealEd.dll!FBlueprintCompileReinstancer::FBlueprintCompileReinstancer() {0x00007fff2c3b208c} + 42 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-UnrealEd.dll!FBlueprintCompileReinstancer::Create() {0x00007fff2bd00800} + 39 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-KismetCompiler.dll!FKismet2CompilerModule::CompileBlueprint() {0x00007fff271b1f18} + 55 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-UnrealEd.dll!FKismetEditorUtilities::RecompileBlueprintBytecode() {0x00007fff2c4197cb} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Engine.dll!UBlueprintGeneratedClass::ConditionalRecompileClass() {0x00007fff2d310550} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!<lambda_072ba289e8c4661e71a79ad39cfe69d6>::operator()() {0x00007fff332d53a0} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FScopedClassDependencyGather::~FScopedClassDependencyGather() {0x00007fff332c4052} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::CreateExport() {0x00007fff3339f86b} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::IndexToObject() {0x00007fff333c55a4} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::CreateExport() {0x00007fff3339ec9e} + 11 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::CreateExportAndPreload() {0x00007fff3339fb7b} + 5 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::LoadAllObjects() {0x00007fff333c816a} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!LoadPackageInternal() {0x00007fff334a4943} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::VerifyImportInner() {0x00007fff333f7bd0} + 49 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::VerifyImport() {0x00007fff333f6b2b} + 16 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::VerifyImportInner() {0x00007fff333f80f0} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::VerifyImport() {0x00007fff333f6b2b} + 16 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::GetExportLoadClass() {0x00007fff333baad8} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::CreateExport() {0x00007fff3339df44} + 11 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::IndexToObject() {0x00007fff333c55a4} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::CreateExport() {0x00007fff3339ec9e} + 11 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::CreateExportAndPreload() {0x00007fff3339fb7b} + 5 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!FLinkerLoad::LoadAllObjects() {0x00007fff333c816a} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!LoadPackageInternal() {0x00007fff334a4943} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Engine.dll!UEngine::LoadMap() {0x00007fff2da9cfac} + 41 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Engine.dll!UEngine::Browse() {0x00007fff2da4c1d2} + 40 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Engine.dll!UEngine::TickWorldTravel() {0x00007fff2dac50b1} + 65 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Engine.dll!UGameEngine::Tick() {0x00007fff2d498a0c} + 14 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor.exe!FEngineLoop::Tick() {0x00007ff65c8042d1} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor.exe!GuardedMain() {0x00007ff65c7f49cc} + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor.exe!GuardedMainWrapper() {0x00007ff65c7f4a4a} + 5 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor.exe!WinMain() {0x00007ff65c8065c9} + 17 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor.exe!__tmainCRTStartup() {0x00007ff65c8075d9} + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
KERNEL32.DLL {0x00007fff55ce2d92} + 0 bytes
ntdll.dll {0x00007fff58389f64} + 0 bytes
ntdll.dll {0x00007fff58389f64} + 0 bytes

[2015.08.24-09.17.12:470][215]LogOutputDevice: === Handled error: ===

any help really appreciated…
best regards

Hi ,

Does this occur in a clean, blank project with no additional content or is it limited to one project? What actions were taken before the log started spamming? Can you post your full logs here in a .txt doc? You can find them at \Unreal Projects\PROJECTNAME\saved\logs. Is this a C++ or Blueprint project?

Hi ,
The problem is, i can not tell you why this suddenly spams the log.
I subclassed the LevelActor when this suddenly appeared.
It’s a 4.83 C++ Project
I switched Visual from 2013 to 2015 these days but it worked so i guess it’s not relevant…

Really annoying that i can not cook with this error and i have not any clue what the error means. Im in a very hot phase and my timeline runs out.
I used google and i only find my own threads containing “Ensure condition failed: MyOwner && MyOwner-” but what does this exactly mean?

Actually it’s not spamming the log anymore but the ensure condition fail error avoids me to package the project

Btw. here is the log:
log

Best Regards and thank you so very much for looking into this.
I sent the whole project some weeks older

Hi ,

What was the last series of actions you made before this occurred? Do you get any compilation errors when you attempt to compile via VS? Does this point to any specific code errors?

Hi,
i can only tell that i was subclassing the LevelActor…
didn’t do much.

There are no code errors in c++ , so if you can tell me what

Ensure condition failed: MyOwner && MyOwner

means and for what cases it is it could be helpful for all people seeing this error

i really really need to cook,

thank you!
best regards

Hey -

When you say that you were subclassing the LevelActor, does that mean that you made a C++ class based on LevelScriptBlueprint? Since the project has been updated since you sent it to can you send me a current version of the project?

Hi ,

thank you for your help,
after some testing and debugging i found out that the RegisterComponent() function and bautoregister i used in HeatSource was the reason for this problem. After removing this, it’s gone…

But after trying to cook the project i get this output after failing:
packed cooking log
should i create a new ticket for this?

Hey -

I’m glad to hear that you were able to find the solution to this problem. Since your new issue isn’t related to this it would be best to create a new post to help when searching for information for either problem.

Cheers