Description

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 existingAnswerHub thread and let us know what's up.

3
Login to Vote

Unresolved
ComponentTools
Affects Versions4.134.144.154.16
CreatedJan 30, 2017
UpdatedJun 25, 2019