You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with 4.3.beta1, a plugin I've been working on became unusable. It creates a separate window that the user will use like its own application (see mrp equivalent image below). Something in beta1 makes this setup perform really really badly.
Here I only added a small slider and some code from my own codebase to give the editor something to struggle with, as this does seem to scale with scene complexity. (I couldn't reproduce this with an empty window, with the setup above, it took about 2 minutes until this drop in performance was reached, and with my full plugin the editor can barely switch script tabs in under 30 seconds)
0:03 - the hover effect of the different menu items breaks
0:14 - the different tab buttons all have a delayed hover effect
0:20 - drag-clicking to highlight console text breaks
0:52 - double clicking on console text to highlight it works unreliably
1:00 - windows open and close with heavy delay
2024-06-14_17-33-05.mp4
While looking for related issues I came across #93155, which seems to be the only other editor performance-related issue for 4.3.beta1 so far?
Steps to reproduce
Import the project and ensure the plugin is enabled (reload the editor if needed)
Open the window with the "Test" Button in the top right, kill some time by playing with the slider or just wait around
After some time, the main Godot editor should become laggy like in the video
(This only happens when the window is open, if you never click the button, the editor is fine)
I confirm that productivity drops greatly.
I noticed that when we comment out window.popup() -> #window.popup(), the editor stops freezing, something with laggy_window.
Also, after clicking the "Test" button, the following errors are displayed:
This seems to be another victim of #91361, you don't need to wait for reproduce the issue, just move the opened window a bit and will be enough to trigger the lag
unknown_2024.06.14-18.47_1.mp4
Also as the other similar issues, pr #92742 seems to solve this issue too, but just to make sure, @SnekOfSpice can you check this comentary (#92954 (comment)) and do the steps to confirm?
All of the issues linked in the PR have very very different descriptions so I don't think people will identify based on the issue if we pin it (and pinned issues aren't very effective either, for example the C# export issue has two duplicates opened after it was pinned)
Tested versions
System information
Godot v4.3.beta1 - Windows 10.0.19045 - GLES3 (Compatibility) - AMD Radeon RX 5700 XT (Advanced Micro Devices, Inc.; 31.0.12027.9001) - AMD Ryzen 7 3700X 8-Core Processor (16 Threads)
Issue description
Starting with 4.3.beta1, a plugin I've been working on became unusable. It creates a separate window that the user will use like its own application (see mrp equivalent image below). Something in beta1 makes this setup perform really really badly.
Here I only added a small slider and some code from my own codebase to give the editor something to struggle with, as this does seem to scale with scene complexity. (I couldn't reproduce this with an empty window, with the setup above, it took about 2 minutes until this drop in performance was reached, and with my full plugin the editor can barely switch script tabs in under 30 seconds)
2024-06-14_17-33-05.mp4
While looking for related issues I came across #93155, which seems to be the only other editor performance-related issue for 4.3.beta1 so far?
Steps to reproduce
Minimal reproduction project (MRP)
beta-1-bad-performance.zip
The text was updated successfully, but these errors were encountered: