I use FStringAssetReference and StreamableManager to load game assets, everything is OK when I run it in editor. However, when I launch the game. There are many runtime errors when I load assets like this:
LogPlayLevel:Display: Panda: [2014.07.25-09.41.12:222] 0]LogLinker:Warning: Unable to load package (…/…/…/Panda/Content/Resoures/Character/Blademaster_AnimBlueprint.uasset). Package contains EditorOnly data which is not supported by the current build or vice versa.
It happens when the code runs: “Existing->Target = StaticLoadObject(UObject::StaticClass(), NULL, *TargetName.AssetLongPathname);” in StreamableManger.cpp
My environment: Win8.1, VS2013, UE4.3
What’s my mistake?