-
-
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
The engine crashes after changing the path to the node #80041
Comments
Godot is entering an infinite loop here: Lines 3151 to 3168 in f7bc653
|
I'll take a look at it tomorrow but to be sure is Godot crashing or is it freezing? |
It doesn't crash. When poking around in |
Okay so it is not really freezing it is just taking way way way way way way too long. What is actually happening is that it is trying to find all possible way to match the query inside way too long options. Just to give an idea of how bad this becomes here the query is around 40 characters long and options are often 200-300 long. which means at some steps it can go up to 10000000 matches which slow down the whole process. I made a quick PR there it runs smoothly even with OP really astronomical example (around a hundred or even more options with a size of around 300 for some). |
Godot version
v4.1.1-stable_mono_win64
System information
Windows 11
Issue description
I removed the node to replace it with another, but when I change the path in the code, the engine crashes for me.
Steps to reproduce
I did a screen recording as it happens:
rec.mp4
Minimal reproduction project
MixApo.zip
The text was updated successfully, but these errors were encountered: