Description

Loaded level defined in TSoftObjectPtr <World> fails to load with LoadLevelInstance. This is due to "UEPID" prefix. Because it is rewritten by FSoftObjectPath :: FixupForPIE (), retrieval of Object may fail.

Steps to Reproduce
  1. Open the attached project and PIE
  2. Move on OpenLevel when overlap to trigger box on the level of ThirdPersonExampleMap
  3. Overlap to TriggerBox 

At this time, attempting to create "ThirdPersonExample" with LoadLevelInstance fails.(See attached screenshot)

The following log is output.

LogStreaming: Error: Couldn't find file for package /Game/ThirdPersonBP/Maps/UEDPIE_0_ThirdPersonExampleMap.

The world of TriggerBox is defined by TSoftObjectPtr<World>, but it fails because there is a "UEPID" prefix at the time of loading. It will succeed if using Blueprint's LoadLevelInstance node.

 

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-61666 in the post.

2
Login to Vote

Unresolved
ComponentGameplay
Affects Versions4.194.20
Target Fix4.21
CreatedJul 10, 2018
UpdatedJul 13, 2018