Description

The user is able to have a variable set to both Ready Only and Expose on Spawn. When this is done, the variable is treated as writable, and can be edited when it's exposed on a Spawn or Add node.

Steps to Reproduce
  1. Open QAGame in editor.
  2. Create a new blueprint an open it.
  3. Add an Int variable.
  4. On the variable, enable Expose on Spawn, Blueprint Read Only, and Instance Editable.
  5. Compile.
  6. Open the level blueprint.
  7. Add a Spawn Actor from Class node.
  8. Set it to the blueprint you just created and compile.

RESULT

Notice that the "Read Only" variable is exposed on the Spawn node. And at this point the user can change the value without issue.

EXPECTED

A read only variable shouldn't be able to be exposed. Best action may be to have a warning/error when the user sets both of these flags.

Have Comments or More Details?

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

0
Login to Vote

By Design
ComponentUE - Gameplay - Blueprint
Affects Versions4.17
CreatedJun 23, 2017
ResolvedJan 2, 2019
UpdatedJan 2, 2019
View Jira Issue