Setup primary assets via blueprint for asset manager scan

I’ve seen that tutorial.

What I’ve manged to do is to make them work all of them just fine. Problem is that they do not work with the Asset Manager. It doesn’t find the IDs so you can load them in batch. Which defeats the purpose of having them. I can load them one by one if I know where and how many of them to use. But that is not how it should work

It appears that you need to override the GetPrimaryAssetId() function, which you can use in code but not in blueprint.

I really don’t want to learn the ■■■■ C++ stuff. Now I’ve managed to create the primary data in code, then create the child data assets in blueprint. Works fine with the asset manager. As it should. But boy I can’t seem to create a struct, because all the blueprints structs I have are not visible in code.

edit: Nevermind, I’ve made it work. The asset manager finds the IDs, It appears I can avoid C++ for now.