Skip to content

Moving the script of an open file duplicates the open file in the editor tree #112960

@mieldepoche

Description

@mieldepoche

Tested versions

v4.6.dev4.official [bd2ca13]

System information

windows 11

Issue description

Possibly related to #112880

best explained by video, notice how

  • the previous instances of the scene persist after closing it
  • the name of the scene is forcibly changed (MyScene -> MyScene2 -> MyScene3)
render-2025-11-19_03-24-50.webm

Steps to reproduce

  • open a scene that has a script on its root (even a single node, with an empty script)
  • move the script in the file system
  • close the open scene
  • the scene should persist

Minimal reproduction project (MRP)

any node with a script

mrp-leftover-scene.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions