-
-
Notifications
You must be signed in to change notification settings - Fork 21.7k
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
GDScript compilation error with no description in built-in scripts #95563
Comments
I'm trying to debug this myself, but am unable to build the engine from sources. Not sure whether it's worth to open a new issue, for now just posting here: https://forum.godotengine.org/t/line-too-long-when-compiling-engine-with-spine-godot-on-windows/92348 . It's been several days already with no answer, so I hope maybe someone can help me with building this to debug the issue |
Finally, I've been able to track this down to this line: godot/modules/gdscript/gdscript_analyzer.cpp Line 1300 in 77dcf97
There was completely no clue about which errors caused the failure, but after debugging the engine I got this error: I will share a small piece of the relevant code here: It seems to be related to lambdas. I changed this offending line to reference It's also weird that I don't get any errors for line Ideally, I'd like to see these "other_parser" errors in the output window. @AThousandShips can you please help me ping the right person to draw some attention to this as I'm afraid this issue got buried already? |
This issue is already tracked for GDScript triage so it is probably not buried |
The crash was caused by this issue: #91857 |
Tested versions
System information
Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1660 (NVIDIA; 32.0.15.6081) - AMD Ryzen 7 2700X Eight-Core Processor (16 Threads)
Issue description
I'm yet to figure out the context and describe the issue precisely. I've opened my project (previously on 4.2.2) in newly released 4.3 and that gave me a fuzzy compilation error:
![image](https://private-user-images.githubusercontent.com/47334605/358256550-8915fa1f-cd11-454f-9185-04c745303af2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NDAzNDYsIm5iZiI6MTczOTY0MDA0NiwicGF0aCI6Ii80NzMzNDYwNS8zNTgyNTY1NTAtODkxNWZhMWYtY2QxMS00NTRmLTkxODUtMDRjNzQ1MzAzYWYyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE3MjA0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYyOTU5NTIwYmUyZGRiMjY3Mjg4NTEyYTAxYmNkODAyMThlYTM4ZGUzYzViNjA1OWY5OGQ0MWQ2MGE2NDg1ZDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.D2AeH_q4qGpL-u7kbyqikDFPLZPM3_gnxgsgoJ8Ojjo)
Also, this seems to cause this error next:
Also, the editor crashes on exit with no helpful information:
![image](https://private-user-images.githubusercontent.com/47334605/358261769-d6c13dff-a396-4bdc-9871-3bc46d0727a6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NDAzNDYsIm5iZiI6MTczOTY0MDA0NiwicGF0aCI6Ii80NzMzNDYwNS8zNTgyNjE3NjktZDZjMTNkZmYtYTM5Ni00YmRjLTk4NzEtM2JjNDZkMDcyN2E2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE3MjA0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJiNzY5OGY1NjMwZjM3YTJlMGYwMGQ2ZDA3MTIxZjRjNWQ2Y2JmNmYxOWJkYzIzN2MyNTA2YWU5ODQzMWU0ZDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.GnDccgH5aIYMgPY7DpTd0-X26ml77snkyuzBy1x6Dro)
I tried to remove
.godot/
folder, but that didn't help.Context about project setup (something may be irrelevant to the issue, but I don't know what might be actually useful):
GraphNode
,GraphEdit
) plugin for the editor. It also allows to configure custom GUI for particular data types via calling a staticregister_gui()
function (which puts that gui in static Dictionary)configure_ineditor_plugins.gd
is an autoload where all thoseregister_gui()
are invokedsetup
in its_enable_plugin()
method. This plugin also providesEditorExportPlugin
, but I don't believe this matters.@tool
script (basic GUI implementation provided by plugin) from which other@tool
scripts (custom GUIs ineditor/
folder, project-specific) inherit. This offending class inheritsGraphNode
which is experimental, but there are no visible errors in its code.configure_ineditor_plugins.gd
, but is caused by the compilation error.Steps to reproduce
Don't have an MRP yet. This just happens when opening the project.
Minimal reproduction project (MRP)
Don't have one yet, sorry
The text was updated successfully, but these errors were encountered: