Why blueprint changed input variable to output variable?

Hello.
I discover very strange behaviour in blueprints I don’t understrand.


My c++ function looks like this in .h :


UFUNCTION(BlueprintCallable, Category = “SaveLoadManager”)

bool LoadGameDataFromFile(const FString& FullFilePath, FString& LoadedDataLocation);


  • there are two inputs (ref to FullFilePath, ref to LoadedDatatLocation) and output is boolean

But blueprint looks like this:

50782-bp_block.jpg

One input turn to output. LoadedDataLocation isn’t input anymore but output, but this is variable I need to set.

Has anybody idea what happend ? Is there any restriction of passing reference through ?

okey, i found similar topic and solved my problem.

reference witout const is threated like output

1 Like