Description

If a class variable is given the name "Class", creating a Get Class Defaults node and setting

Screenshot provided by user in AH post

Steps to Reproduce
  1. Open UE4 Editor (any project)
  2. Add a new class based on actor (MyActor)
  3. Add the following to MyActor.h
    UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = test)
    	int32 Class;
    
  4. Compile
  5. In the editor, create a blueprint based on MyActor (MyActorBP)
  6. Create a Get Class Defaults node
  7. Set Class input pin to MyActor
  8. Click and drag the green Class output pin

Result:
The wire that is pulled out is purple (indicating class reference) and connected to the Class input pin.

Expected:
Wire is green to represent int32 and connected to output pin

Repro Rate:
3/3

Have Comments or More Details?

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

0
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.11.1
CreatedApr 13, 2016
ResolvedJul 15, 2016
UpdatedJul 14, 2021