Description

When trying to delete a Blueprint from a level, if the Blueprint contains a reference to itself, and that is the only reference to that particular Blueprint, a warning will be displayed saying that the Blueprint is referenced by other Actors or Objects and ask you to confirm that you want to delete the Blueprint. This warning is unnecessary since the only reference to the Blueprint is within the Blueprint itself.

Steps to Reproduce
  1. Create a new Basic Code project.
  2. Add a new Actor code class to the project.
  3. In the new Actor code class, add an AActor pointer UPROPERTY.
    • eg:
      UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = TestCat)
      AActor* TheActor;
      
  4. In the constructor for the new Actor class, set the AActor pointer to reference self.
    • eg: TheActor = this;
  5. Create a Blueprint that derives from the new AActor class.
  6. Place an instance of the Blueprint in the level.
  7. Delete the instance of the Blueprint in the level.

RESULT:
A warning appears stating that the Blueprint is referenced by other Actors or Objects and asks if you really want to delete it.

EXPECTED:
The Blueprint in the level is deleted.

Have Comments or More Details?

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

4
Login to Vote

Won't Fix
ComponentTools
Affects Versions4.17.24.18.34.19
CreatedApr 3, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue