Skip to content

[4.6 dev4] Moving scene file opened in another scene tries to free root scene node #112880

@TAGames

Description

@TAGames

Tested versions

Reproducable in:

Not reproducable in:

System information

Godot v4.6.dev4 - Windows 11 (build 26200) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 SUPER (NVIDIA; 32.0.15.8157) - AMD Ryzen 7 3800X 8-Core Processor (16 threads) - 31.92 GiB memory

Issue description

Console:
ERROR: Something attempted to free the root Node of a scene ("Main"). This is not supported inside the editor, so the Node was not freed.

Steps to reproduce

Image

Create 2 scenes. Make one scene the child of the other scene.

While the "Main" scene is open, move the child scenes' file into another folder.
Above mentioned error shows and the "Main" scenes name changes from "Main" to "Main2". Renaming the scene back to "Main" does not work.

Moving the child scenes' file back or somewhere else changes the "Main2" scene name to "Main3" and so on.

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Not Critical

    Status

    For team assessment

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions