Description

This bug was discovered by a user who tried changing level through the 'servertravel' console command (HandleServerTravelCommand). 

Debugging shows that FindFilesAtPathInIndex won't return anything for the /Game (ie Project/Content) path. Seems like the files under IOStore are not searchable. 

Steps to Reproduce
  • Create a test project
  • Create 2 test levels (LevelA and LevelB). Make sure to save them.
  • In LevelA, add some code (actor, BP node...) that will make that call: 
    • FPackageName::SearchForPackageOnDisk(TEXT("LevelB"))
  • The call to SearchForPackageOnDisk will be successful in PIE. 
  • Make sure that both levels are part of the cook.
  • Package with IOStore, the Search will fail
  • Package without IOStore, the Search will be successful

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-165122 in the post.

1
Login to Vote

Unresolved
ComponentUE - Foundation - Core
Affects Versions4.27
Target Fix5.0
CreatedSep 26, 2022
UpdatedDec 7, 2022
View Jira Issue