UE5 Get Assets by Path not working in standalone game or package?
Yes, do someone know why? Did u find a solution?
In my case unreal did not cook the directory:
In Project Settings search for:
Additional Asset Directories to Cook
add an element to the list and paste the path you want to be cooked when packaging
you can copy the path from the asset browser. When you click on the right side of the box that displays the path it should turn it into a string that can be copied. It should look similar to this: /Game/MyAssets
click path to the list:
Edit > Project Settings > Project - Packaging > Packaging - Advanced - Additional Asset Directores to Cook
An indicator that it cooked the directory is, when it appears in the saved directory:
<YouProject>\Saved\Cooked\<TargetPlatform>\<YourProject>\Content