godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.9k stars 21.14k forks source link

[4.0] Editor crashes when renaming folder containing "opened" scenes #66556

Open svn133 opened 2 years ago

svn133 commented 2 years ago

Godot version

4.0beta1

System information

macOS Monterey (12.5.1), MacBook Pro, Intel Iris Plus Graphics 1536 MB

Issue description

The editor crashes when renaming folders, containing scenes that is currently opened in the editor. As far as I see, for the crash top happen, it is enough to have any scene open and rename any folder in the path of that scene.

Additional context information about this buggy behaviour:

(also submitted the issue via apple's crash report)

Steps to reproduce

  1. new project
  2. create a folder
  3. create a scene in that folder
  4. open that scene
  5. rename the folder

https://user-images.githubusercontent.com/114500633/192847115-df2f00cc-e85e-4b8e-909a-ef549fbe92b0.mp4

Minimal reproduction project

No response

svn133 commented 1 year ago

UPDATE: I've just tested this again with beta8. The behaviour is now different, but still there seems to be some problem with this:

example project to reproduce: 66556-example-project.zip

1-initial-setup 2-renaming-error-popup 3-renaming-error-output

Rindbee commented 1 year ago

The latest error messages are related to #69794.