We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug (REQUIRED) Trying to print a hash script property displays hash: [XXXX (unknown)], even in debug builds.
hash: [XXXX (unknown)]
Expected behavior (REQUIRED) It should print the original value that was hashed.
To Reproduce (REQUIRED) Steps to reproduce the behavior:
go.property("my_hash", hash("test"))
Defold version (REQUIRED):
Platforms (REQUIRED):
Minimal repro case (OPTIONAL):
go.property("my_hash", hash("test")) function init(self) print(self.my_hash) --> "hash: [12722210162474435462 (unknown)]" end
Workaround (OPTIONAL): Calling hash() with the same value at any point before printing the property will make it display the correct value:
hash()
go.property("my_hash", hash("test")) function init(self) print(self.my_hash) --> "hash: [12722210162474435462 (unknown)]" hash("test") print(self.my_hash) --> "hash: [test]" end
The text was updated successfully, but these errors were encountered:
I think our Lua parser for go.property("key", hash("value")) can keep hash("value") in Lua file for debug builds to be able to see string value
go.property("key", hash("value"))
hash("value")
Sorry, something went wrong.
No branches or pull requests
Describe the bug (REQUIRED)
Trying to print a hash script property displays
hash: [XXXX (unknown)]
, even in debug builds.Expected behavior (REQUIRED)
It should print the original value that was hashed.
To Reproduce (REQUIRED)
Steps to reproduce the behavior:
go.property("my_hash", hash("test"))
Defold version (REQUIRED):
Platforms (REQUIRED):
Minimal repro case (OPTIONAL):
Workaround (OPTIONAL):
Calling
hash()
with the same value at any point before printing the property will make it display the correct value:The text was updated successfully, but these errors were encountered: