Standalone/Packaged missing assets in path

TheArchitect
Sat, 09 Jul 2022 10:13:41 +0000
Platform & Builds

Probably an easy flag for cooking or force-loading I overlooked somewhere, so here goes.

I have a widget system that relies on textures and knowing where what exists. On BeginPlay I use Asset Registry and ‘Get Assets by Path’ to create an array of all textures in a given path, so I can access it from the widgets.

All works well, but when playing in standalone mode or packaged, the array will only include textures that are initially used in the level, not all in the path. They seem to simply not exist. Set the directory containing the textures to always cook, but no dice. Any flag I need to set or way to force all textures/assets to be used in the game, even the ones that are initially unused in the world?

9 posts - 8 participants