You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproducible in 4.3 stable, 4.2 stable, 4.1.1 stable
System information
Windows 11 x86_64 · 64 bit (not tested on .net version). This bug not reproducible on MacOS.
Issue description
After using OS.set_environment to set a custom variable to a value, OS.has_environment still results in false, despite OS.get_environment still delivers the set value.
Steps to reproduce
Reproduce using the following code (as included in the MRP):
extends Node
func _ready() -> void:
OS.set_environment("something", "hello")
print("called OS.set_environment for 'something' with value 'hello'.")
print("OS.has_environment('something'): ", OS.has_environment("something"))
print("OS.get_environment('something'): ", OS.get_environment("something"))
Outcome is:
called OS.set_environment for 'something' with value 'hello'.
OS.has_environment('something'): false
OS.get_environment('something'): hello
Tested versions
System information
Windows 11 x86_64 · 64 bit (not tested on .net version). This bug not reproducible on MacOS.
Issue description
After using OS.set_environment to set a custom variable to a value, OS.has_environment still results in false, despite OS.get_environment still delivers the set value.
Steps to reproduce
Reproduce using the following code (as included in the MRP):
Outcome is:
Minimal reproduction project (MRP)
environment-test.zip
The text was updated successfully, but these errors were encountered: