-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
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
Engine.editor_hint
is always invalid
#66943
Comments
Engine.editor_hint
is always invalid (error)Engine.editor_hint
is always invalid
In 4.0, the print(Engine.is_editor_hint()) |
|
There is a compilation error in your screenshot... |
@akien-mga the compilation error is on runtime. This should be caught in compiling/saving. |
Nevermind, the reasoning behind compiler not catching these errors are explained in Related to this issue: #66948 |
Godot version
4.0 beta2
System information
Artix (Arch Linux without systemd), NVIDIA GTX-1050 Ti
Issue description
Engine._editor_hint
is a boolean value which returns true if on the editor, false if non-editor. Problem is, it doesn't work at all. It does compile without error, but whenever it checks against that logic in runtime, it gives invalid index error.Steps to reproduce
Minimal reproduction project
See above. Just copypaste the code into 1 script lol
The text was updated successfully, but these errors were encountered: