A strange error about GetWorldFromContextObject()

Check AIController if you had one. I experience same problem with AIPerception component when I compile AIController blueprint and packing a project: "Error: Script Msg: A null object was passed as a world context object to UEngine::GetWorldFromContextObject()" after compiling AIController blueprint with AIPerception component - AI - Unreal Engine Forums
It seems that this is an engine bug.

When I package this project, it shows me: UATHelper: Packaging (Mac): Cook: LogScriptCore: Error: Script Msg: A null object was passed as a world context object to UEngine::GetWorldFromContextObject().

In addition, when I open packaged file of this project, it couldn’t be run completely, specifically stoped at initializing movie player.
[link text][2]

Therefore, could you please tell me whether there are connections between these two errors and how to solve these?
Thank you very much.