Developer Notes

This issue has been closed as 'Won't Fix' due to an extended period of time without updates. If this issue is important to you please let us know by posting on the AnswerHub or UDN, and Epic will re-open the ticket for further review.

Description

Defining an FTransform in code with VisibleAnywhere, BlueprintReadOnly allows the variable to still be edited per instance placed in the level.

Steps to Reproduce
  1. Open UE4 Editor (any project)
  2. Add code to project based on actor (MyActor)
  3. Add the following to MyActor.h
    	UPROPERTY(EditDefaultsOnly, BlueprintReadOnly)
    		FTransform myTransform;
    	
    	UPROPERTY(EditDefaultsOnly, BlueprintReadOnly)
    		float myFloat;
    
  4. Compile
  5. Create blueprint based on MyActor (MyActorBP)
  6. Add instance of MyActorBP to the level
  7. Select the instance and open the Details panel

Result:
myFloat value is grayed out but extending the drop-down of myTransform allows the location, rotation, and scale values to be edited.

Expected:
VisibleAnywhere, BlueprintReadOnly allows variable to be seen but not edited in the editor.

Repro Rate:
3/3

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

1
Login to Vote

Fixed
ComponentTools
Affects Versions4.11
Target Fix4.23
Fix Commit6104853
Main Commit6838042
Release Commit6955818
CreatedMar 10, 2016
ResolvedApr 26, 2019
UpdatedJul 25, 2019