Using the GetSubPaths command in Standalone does not return any paths. From the answerhub user's research, it seems that CachedPathTree in AssetRegistry.cpp is not being initialized like it is in either PIE or in a packaged game.

Regression?: No
This also occurred in 4.13

Steps to Reproduce
  1. Download the attached project
  2. Set a breakpoint on Line #30 of MyActor.cpp
  3. Compile the project for DebugGameEditor and launch it in debug
  4. Launch the game in Standalone from the editor
  5. In Visual Studio, attach the debugger to the Standalone game process
  6. A breakpoint will be triggered, check the value of the PathsToScan variable
    Result: The PathsToScan variable is empty
    Expected: The PathsToScan variable is populated as it is in PIE

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

Won't Fix
Affects Versions4.
CreatedJan 30, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021