-
-
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
Editor crash when attaching a certain tool script #79882
Comments
godot.windows.editor.dev.x86_64_SsDwfiDiaE.mp4 |
Thanks, I missed the part that is has to be built in script. Now I can reproduce the crash. I tried to get it to crash using only parts of the script. It's already crashing with just this line: var materials: Array[TerrainMaterial] In fact it seems to happen when the Array type can't be found. This crashes when pasting: var foo: Array[DoesNotExist] This does not crash: var foo: Array[String] |
Crash is one thing, but TerrainMaterial is defined in the same file, so the type should be found. |
It seems to crash here trying to get the first error from the I believe commit 83b0170 broke this (PR #75216), because when I comment out lines 481-487 it no longer crashes. |
CC @rune-scape |
Notably, it crashes when the newly created built-in script is not saved yet. |
this is fixed by #81156 |
Godot version
4.2 f618701
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
This script:
Causes:
Note that it's some new issue. It doesn't happen in 4.2 dev1
Steps to reproduce
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: