Using the VisibleAnywhere specifier in a UPROPERTY declaration does not prevent a Component's properties from being edited in property windows. This conflicts with the description of this specifier on our documentaiton and also poses the problem of having no way to make a UPROPERTY uneditable in UE4.

Regression?: No
This also occurs in 4.16.3

Steps to Reproduce
  1. Download the attached project
  2. Generate project files, compile, and open the project.
  3. Drag an instance of the MyActor C++ class into the level
    Result: You are able to edit the Static Mesh in the Details panel, which is part of a StaticMeshComponent UProperty MyMesh that is Private and set to VisibleAnywhere
    Expected: You are unable to edit anything related to the StaticMeshComponent named MyMesh

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 17, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021