Hi ,
When dealing with blueprints variables am i dealing with pointers or references? I know this might be obvious since when defining a variable it says “reference object” but i feel like its acting like a pointer more than a “reference” ( i havent seen anyone talks about this )
Variables in Blueprint are wrapped in an FProperty, which stores a pointer to your variable.
So to be honest - ALL variables are pointers, and “references” are a pointer to a pointer.
Epic’s choice of “references” as a name is likely due to the fact that many programming languages don’t have such a thing as a “pointer”, and this would create an additional step necessary for understanding.
In blueprint when you try to access a function in a null variable it shows an error
Also refrences cant be null but in blueprints you could make it null when you define a variable and leave it without assigning,