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. Go up the stairs to the travel label to trigger a travel to LoadInsancePIEMap
  3. Walk forward to trigger the BP_Trigger which attempts to load an instance of ThirdPersonExampleMap

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.

4
Login to Vote

Fixed
ComponentGameplay
Affects Versions4.194.204.22
Target Fix4.23
Fix Commit6938244
Main Commit6938244
CreatedJul 10, 2018
ResolvedJun 11, 2019
UpdatedJun 12, 2019