Ensure condition failed: MyOwnerWorld

The end result is an unknown cook failure.

The only relevant line I can find is this one, but it’s hard to debug. It’s a part of a short function - RegisterComponent()

Any help is much appreciated. Thanks!

[2016.11.12-21.24.15:240][ 0]LogOutputDevice:Error: Ensure condition failed: MyOwnerWorld [File:D:\Build++UE4+Release-4.13+Compile\Sync\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp] [Line: 930]

link text

Hey meunity,

After spending some time looking into this, it appears that at some point, one of your assets is returning a nullptr for it’s world reference. Are you doing anything in your project that could be causing this?

Also, are you working in a blueprint or a c++ project?

Hello,

I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day

Hi Sean, different poster, different engine version, but I’m having the same problem on a 4.14 project, should I post here or start a new thread?

Ensure condition failed: MyOwnerWorld [File:D:\Build\++UE4+Release-4.14+Compile\Sync\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp] [Line: 964]

Hey dmo9001,

Go ahead and start a new thread in the Packaging & Deployment section and link it here when you have created it. I’ll follow up with you on that new thread.

Thanks

I finally figured out that I hadn’t updated my Thirdperson Character .h and .cpp files from the UE4.14 templates and that was causing me a lot of trouble trying to update the project from 4.12 → 4.14.

So all good now, thanks very much for the support.

Hello, would you mind mentioning what had to be changed in your h. and .cpp files exactly? I have the same issue after upgrading my project to 4.14.

Some years latter and I also can’t figure out how to fix this problem as well, I’m having the same problem on 4.25.4