variable default value does not seem correct

Hello there,

I’m confused about the default value of a variable.
If not set anywhere, this is what the value it should hold, correct?
For me this doesn’t seem to be the case here.
I checked the references to “DefaulLookAtLocation” but it definetly is not set anywhere.
Nevertheless GetClassDefaults is returning something else (the correct value).

If I assign the variable in BeginPlay with the value from ClassDefaults, it’s working as expected, I was not aware that I need to do that though.

Am I misunderstanding something?

Thanks so much for your time!

seb

Do you have more than one copy of this blueprint in the map? And one has the default location set differently?

1 Like

Thanks for the reply!

No it’s just the one, furthermore the variable is not even exposed:

1 Like