Skip to content

Opening 2D/3D scene when no scene was previously open no longer switches to 2D/3D viewport #96535

Open
@akien-mga

Description

@akien-mga

Tested versions

  • Reproducible in 4.3.stable and 4.4.dev (514c564)
  • Not reproducible in 4.2.2.stable

System information

Fedora Linux 40 (KDE Plasma) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 7600M XT (RADV NAVI33) - AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16 Threads)

Issue description

Godot has this nifty behavior that it can detect the type of a scene (2D or 3D) based on its root node, and infer the viewport (2D/3D) to open for that scene accordingly.

This seems to have regressed in 4.3.stable and later.

What works:

  • Open a 2D scene and make sure to be on the 2D viewport.
  • Open a 3D scene: it will switch to the 3D viewport.
  • Close the 2D scene, reopen it: it will switch to the 2D viewport.

What doesn't work:

  • Have no scene open, make sure to be on the 2D viewport.
  • Open a 3D scene: it stays on the 2D viewport.
  • Close the 3D scene, make sure to be on the 3D viewport.
  • Open a 2D scene: it stays on the 3D viewport.

CC @KoBeWi

Steps to reproduce

See above.

Minimal reproduction project (MRP)

Test2DAnd3DScenes.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions