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

Saving a resource to file doesn't mark the scene as modified #44053

Closed
KoBeWi opened this issue Dec 2, 2020 · 3 comments · Fixed by #96363
Closed

Saving a resource to file doesn't mark the scene as modified #44053

KoBeWi opened this issue Dec 2, 2020 · 3 comments · Fixed by #96363

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Dec 2, 2020

Godot version:

3.2.4 beta3

Steps to reproduce:

  1. Create a node (e.g. Node2D)
  2. Add any resource to it (e.g. built-in script or material)
  3. Save the scene
  4. Right-click the resource and choose Save
  5. Save it to file
  6. The resource is saved to file and reference gets modified
  7. But the scene is not marked modified. If you close it, you will lose the reference to the file
@FeralBytes
Copy link
Contributor

@KoBeWi just a question, I only seem to encounter this behavior if a "tool" script is involved, is that your case too? If I remove the tool scripts then it seems that the scene knows it should save, and does so properly.

@KoBeWi
Copy link
Member Author

KoBeWi commented Mar 10, 2021

It happens without any tool scripts.

@KoBeWi
Copy link
Member Author

KoBeWi commented Jul 18, 2023

Reopening, because I linked wrong issue. It should be #36281 instead, sorry.
This one is still valid on master btw.

@KoBeWi KoBeWi reopened this Jul 18, 2023
@KoBeWi KoBeWi removed this from the 4.2 milestone Nov 14, 2023
@akien-mga akien-mga added this to the 4.4 milestone Sep 2, 2024
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.

4 participants