Description

The "untracked" metadata field turns off tracking of soft object references so they will not appear in the content browser or modify things like cooking rules. It works fine on individual references, but is currently broken on arrays/maps/etc. 

The fix is simple, the code that reads the metadata needs to call GetOwnerProperty before checking metadata. This is probably also broken for other types of metadata reads.

Steps to Reproduce
  1. Add the the following block of code to the header of any C++ blueprint base class (like QAPawn.h):
UPROPERTY(EditAnywhere, BlueprintReadOnly, Meta = (Untracked))
TArray<TSoftObjectPtr<UObject>> UntrackedRefs;
  1. Recompile, open the editor, and create a BP of that class
  2. Add to UntrackedRefs in the BP editor and assign it to something like a static mesh.
  3. Save the blueprint so refs get saved out
  4. Open the reference viewer on your saved blueprint and see if the asset reference is listed

Untracked should prevent the soft object references from being listed, so if you see the object reference this is still broken

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Foundation - Core
Affects Versions4.275.0
Target Fix5.0
Fix Commit16887122
Main Commit16887122
CreatedJul 19, 2021
ResolvedJul 19, 2021
UpdatedAug 3, 2021
View Jira Issue