Developer Notes

There's no way to fix this, because of the way we do backward compatibility data retention. Workaround is to save the asset in place.

Description

If a UProperty that stores a reference to an asset is deleted, the reference to that asset lingers in any Blueprints that had a reference stored in that UProperty. This can lead to issues when the referenced asset is altered/deleted. The reference also shows in the Reference viewer.

Regression?: No
This also occurred in 4.14

Workaround: Move any affected blueprints to another folder and then move them back, the reference will disappear.

Steps to Reproduce
  1. Open the attached project (will need to generate project files / compile)
  2. In MyActor.h, comment out lines #25 and #26 and compile the project to remove the UProperty
  3. Delete the asset that was being referenced by this UProperty, NewAimOffsetBlendSpace, Force delete when it asks
  4. Save the project and reopen it
  5. Open the NewBlueprint asset
  6. Check the Output log
    Result: Errors/warnings appear about the reference still existing although the UProperty is gone
    Expected: No errors/warnings appear

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

2
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.144.154.16
Target Fix4.18
CreatedApr 25, 2017
ResolvedAug 28, 2017
UpdatedApr 27, 2018