Missing a "public:" on K2Node_TemporaryVariable.h?

Hi! I’m not sure if I’m just trying to use it wrongly or the “public:” is missing from the engine file.
I’m trying to create a temporary variable on a UK2Node expansion, so I can use it as a parameter to another spawned node.
But VariableType that is supposed to be used to set the variable type and even the GetVariablePin method are private (by default, not explicit)

Is there a specific way to use it (maybe just for internal usage)?
And if it is just missing from the engine code, I don’t know the right way to report XD

The GENERATED_UCLASS_BODY() macro automatically adds public:, but the macro code is generated by UHT so intellisense doesn’t pick it up. When you compile it should work though.

1 Like

Awesome! It did compile.
Good to know.