Wrong printing of go.property of "hash" type

go.property("test", hash("test"))

print(self.test) --> hash: [test]
-- then change (in editor) default value to something different,
-- for example "test123"
print(self.test) --> hash: [14481235481976816233 (unknown)]

where do you put your “print”?
what’s your “self”?

I believe that the problem in this case is that the engine hasn’t cached the lookup of hash(“test123”) since it is set from the editor.

If you were to add a line with hash(“test123”) somewhere in your code before you print self.test you get a different result.

1 Like

Did you attach 2 scripts in one go?