Description

Actor Soft References which have been set in the class defaults (not set per instance) don't seem to get the PIE path fixup when they're private.

Toggling the property as private and public shows different paths for the same property:

Public: /Memory/UEDPIE_0_MainGrid_L0_X0_Y2_DL0.TestOpenWorld:PersistentLevel.StaticMeshActor_UAID_E04F43E6BBBD4E5901_1334185872

Private: /Game/TestOpenWorld.TestOpenWorld:PersistentLevel.StaticMeshActor_UAID_E04F43E6BBBD4E5901_1334185872

Users can get around the bug by making their properties public.

Steps to Reproduce

Create an actor blueprint, BP_Actor.

In it, create a property for an Actor Soft Reference.

In an empty World Partitioned map, put down a Cube Actor and the BP_Actor.

In the BP_Actor class defaults, set the Actor Soft Reference property to the Cube actor in the level by using the Picker.

In BeginPlay, print out whether the soft reference is valid or not.

[Image Removed]

Now enter PIE. When the property is Public (Eye Open icon) it will resolve correctly. If it is private, it will not.

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint Editor
Affects Versions5.1
Target Fix5.2
Fix Commit23573876
Release Commit23573876
CreatedJan 3, 2023
ResolvedJan 4, 2023
UpdatedJan 4, 2023