Description

When invoking a custom struct, the first listed variable will not appear in the Intelisense window.

Steps to Reproduce

1. Open UE4 Editor (any project)
2. Add code to project based on Actor
3. In the header file, add the following code:

USTRUCT()
struct StructTest
{
	GENERATED_USTRUCT_BODY()
public:
	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Test")
		float Option1;
	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Test")
		float Option2;
	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Test")
		float Option3;
};


UCLASS()
class CAPSULECRASHTEST_API AMyActor2 : public AActor
{
	GENERATED_BODY()

	void things();

	StructTest testStruct;
	
};

4. In source file, add the following code:

void AMyActor2::things()
{
	
}

5. In things(), type "testStruct" and wait for Intelisense to respond
6. Once Intelisense picks up testStruct add a dot operator (.)

Result:
Option2 and Option3 will appear but Option1 will not.

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 - Foundation - Core
Affects Versions4.6.1
Target Fix4.14
CreatedFeb 18, 2015
ResolvedNov 8, 2016
UpdatedFeb 5, 2017