Package contains EditorOnly data which is not supported by the current build or vice versa.

Hello,

What does this really mean?
I imported resources in Unreal Engine, built using Development Editor / Win64 build. I see my game has access to all imported resources within the game.

However if I build it with Debug Game /Win32 - it tells me subj and my texture load call



  UTexture* texture = Cast<UTexture2D>(StaticLoadObject(UTexture2D::StaticClass(), NULL, (L"Texture2D'/Game/ui/" + id + L"'").c_str()));


returns me NULL.

Thank you.

Gosh, couldn’t solve the problem for a month, but just immediately after posting this I found missing step:
Unreal Editor / File / Cook content for Windows.

:o