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

Impossible to save not-yet-saved scene after renaming folder #52078

Closed
mrkdji opened this issue Aug 24, 2021 · 1 comment · Fixed by #52573
Closed

Impossible to save not-yet-saved scene after renaming folder #52078

mrkdji opened this issue Aug 24, 2021 · 1 comment · Fixed by #52573

Comments

@mrkdji
Copy link

mrkdji commented Aug 24, 2021

Godot version

3.3.3.stable 3.3.2stable

System information

Windows 10

Issue description

Issue
It's impossible to save a newly created scene if one renames the containing folder.

Expected behaviour
A) Show a filesystem popup to choose a different save location for the scene;
B) Save the scene inside the root folder;

Steps to reproduce

  1. Create a folder in Godot Editor's filesystem tab;
  2. Create a scene inside that folder ( do not save the scene );
  3. Rename the folder;
  4. Try to save the scene;

Minimal reproduction project

No response

@e8newallm
Copy link
Contributor

e8newallm commented Sep 10, 2021

Reproducing this bug gives the error:

ERROR: Cannot save file 'res://test foldert/test scene.tscn'. at: save (scene/resources/resource_format_text.cpp:1600) ERROR: Transient parent has another exclusive child. at: set_visible (scene/main/window.cpp:408)

and a popup saying "Error while saving."

This occurs with both "Save Scene" and "Save All Scenes" however "Save Scene As..." opens up at the root directory when the folder is not found.

Going to pick this up and see if I can replicate the "Save Scene As..." handling to the other two.

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

Successfully merging a pull request may close this issue.

3 participants