Description

When a public uproperty variable has the meta specifier EditCondition set to respond to a private boolean, a checkbox appears next to the public variable in blueprints. While the checkbox accurately reflects the private bool state, the checkbox cannot be edited manually and can cause confusion.

The only way to remove the checkbox is to add a visibility specifier to the boolean. This however causes the private boolean to appear in the details.

Regression:
No - same issue occurs in 4.15.3

Steps to Reproduce
  1. Open UE4 Editor (any project)
  2. Add code to project based on Actor (MyActor)
  3. Setup MyActor.h as shown in attached .h file
  4. Setup MyActor.cpp as shown in attached .cpp file
  5. Compile
  6. Create a blueprint based on MyActor (MyActorBP)
  7. Add instance of MyActorBP to the level

Result:
The StartingAlpha and Duration variables shown in the details panel have checkboxes next to their names that cannot be edited. EndingAlpha does not have a checkbox however the bShowEndingAlpha variable is present in details

Expected:
Checkbox does not appear for public variables using private EditCondition booleans

Have Comments or More Details?

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

4
Login to Vote

Won't Fix
ComponentTools
Affects Versions4.15.34.16.14.17
CreatedJun 12, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue