Adding a variable of the type of a struct to a blueprint, deleting that struct, and then recompiling the blueprint fails. The variable is deleted, but the blueprint will continue to be unable to compile. This prevents the blueprint from being used as it is not able to be compiled, regardless of the fact that the variable of the type of the new struct no longer exists.

Occurs in 4.9.2, 4.10 Preview 1, 4.8.3, and Main CL 2731616

Steps to Reproduce

1. Open the editor
2. Create a new blueprint
3. Create a new structure
4. Open the blueprint and add a variable of the type of the new struct
5. Compile and save the blueprint
6. Delete the struct (select force delete)
7. Open the blueprint and attempt to compile

Result: Compile fails even though the struct variable is no longer able to be accessed and is deleted.

Expected: Since the variable has been removed, the blueprint would remove the reference to the pre-existing struct and compile successfully.

Have Comments or More Details?

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

Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.
CreatedOct 20, 2015
ResolvedJul 13, 2016
UpdatedJul 14, 2021
View Jira Issue