-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Long editor freeze after editing script in C# and building it #81309
Comments
I've tested this in new project and this doesn't seem to be the case. In my main project I'm using other packages, could this be a reason for the issue? But still it is very strange because in 4.0.4 the godot editor doesn't freeze at all: My .csproj file
|
UPDATE: Removed all the packages, commented out the code, disabled all the plugins, but the problem remains. |
I've had this same problem for a while, I've noticed the editor freezing gets longer and longer (reaching 2mins 50 secs in some cases), but it goes back to about 20 or so seconds after deleting the .godot folder. Nonetheless, I timed the editor response time after deleting the .godot folder, cleaning the solution in Visual Studio and then clicking on the build button in Godot on a few different branches and found this:
I'm not sure if this has anything to do with it, it might be either the .godot folder getting too large or the editor waiting for a rescan of the entire cache before becoming responsive again. |
@filipinyo How many C# classes does your project have? Since you mention the issue happens in 4.1 but not in 4.0, it looks like you may be running into #92485. If that's the case, it should be fixed in 4.3 beta 2. @Red-Ward-Studio It looks like your issue is #92485 and should be fixed in the next beta. If you are using linux you can try the linux-editor-mono artifact. Otherwise, please wait for the 4.3 beta 2 release and check if it's fixed. |
@filipinyo in your projects root, could you try running |
Godot version
4.1 - 4.1.1 Mono (C#)
System information
Windows 11, Fedora 38 (XFCE, Gnome, KDE) - Godot 4.1 - 4.1.1, Dotnet 7, Ryzen 5950, Geforce 3080, 128gb DDR4 RAM
Issue description
I've experienced this issue all the way from 4.1 to 4.1.1 on windows 11 and on linux fedora 38 (XFCE, Gnome, KDE) - C#. If you change something in a script and click build, the project gets built fast, but the editor becomes unresponsive for 30-60 seconds on Linux and for significantly less time unresponsive on Windows 11.
I've downgraded my project to 4.0.4 and this issue does not exist anymore, I regain the control in 1-2 seconds.
Steps to reproduce
Install and run on Windows 11, Fedora 38.
Minimal reproduction project
/
The text was updated successfully, but these errors were encountered: