Description

Using the Delete Unused Variables option under the Edit tab of a blueprint does not remove local variables. Instead, it displays a "All variables are in use" error.

Occurs in 4.9.2 and 4.8.3 binary. Could not test in Main because of a crash related to [Link Removed].

Steps to Reproduce

1. Open Editor
2. Create a new blueprint
3. Add a couple of variables to the blueprint
4. Create a function
5. Add local variables to the function
6. Go to Edit->Delete Unused Variables

Result: Local variables remain and an error message displays

Expected: Unused local variables would be removed.

Have Comments or More Details?

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

5
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.8.34.9.24.18.2
CreatedOct 13, 2015
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue