Skip to content
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

Clicking a button in the scene dock while a project is loading causes current scene to be overwritten #90877

Open
timcode77 opened this issue Apr 18, 2024 · 2 comments

Comments

@timcode77
Copy link

timcode77 commented Apr 18, 2024

Tested versions

v4.2.1.stable.official [b09f793]
v4.2.2.stable.official [15073af]

System information

Windows 11 Home Godot Engine v4.2.1.stable.official.b09f793f5 Vulkan API 1.2.170 - Forward+ - Using Vulkan Device #0: Intel - Intel(R) UHD Graphics

Issue description

When a project is loading, the scene dock appears and if you click a button before the last opened scene is fully loaded, the loading scene will be completely overwritten with a new scene. This is irreversible without rolling back to a previously saved version. No undo is possible. This bug is more apparent when projects / scenes are large and hence take longer to load (giving you more time to click a button by accident!)

Haven't tested in 4.2.2 but this problem has been present since at least 4.0 so I'm assuming it's pervasive across versions.

Steps to reproduce

  1. Open a large project that is slow to load on your system.
  2. As the current loaded scene is loading, click "2D Scene" in the Scene Dock.
  3. You will notice that the current scene has been overwritten by a new "empty" scene with nothing but a Node2D.

Minimal reproduction project (MRP)

I cannot provide this because what is slow to load for you will be dependent on your system. Additionally, it wouldn't be practical to upload a large project for merely the purposes of providing you something slow to load. Bug is not project dependent.

@AThousandShips
Copy link
Member

Can you try in 4.2.2?

@timcode77
Copy link
Author

Can you try in 4.2.2?

Ok I've tried it. The problem is still there. I updated the original report to include 4.2.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants