I asked this question on answer hub a couple of days ago: https://answers.unrealengine.com/que…5486/view.html
I still haven’t had an answer so I decided to try here.
I’m working on a mobile game on Unreal Engine version 4.23. I’m using the inventory system from the Action RPG example project by Epic Games. I’m using a custom Asset Manager to load UPrimaryDataAssets called UItems.
The game is able to correctly save and load the inventory items by their PrimaryAssetId on PC (both packaged and ran in editor).
However, On android I get the logged error: “Failed to load item for identifier Item_Token!” The only item I have in the game so far is the token so this makes sense. But it shouldn’t be failing to find the item. Especially when I have it set to “Always Cook,” these types of items in the Asset Manager project settings.
It’s strange because the Item_Token seems to be working on Android if referenced from blueprints. I am able to successfully add and save the tokens. It successfully converts from DataAsset to PrimaryAssetId. But not the other way around.
I essentially copied all the code from the Action RPG game so I must have missed some setting. Is my directory wrong? Does it need to point to the c++ classes instead? Does anyone know what could have gone wrong?
Thank you in advance.