-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
4.3 csharp files are changed on editor save causing issues in IDEs - regression? #89239
Comments
Hello. Can you share the following setting values for your editor?
I personally cannot reproduce on my end (Windows 10, Godot 4.3.dev [9b94c80], Rider 2023.3.3). |
Hi, yeah definitely here it is in the same order as yours list:
I honestly haven't touched these settings since forever so I assume it has always been like this since I set it up. I recorded the whole thing on a video to showcase what happens, how and comparison to 4.2.1 where it does not happen here: https://youtu.be/LFMKV9npR8U EDIT: Sorry for weird soudns here and there, it's a health issue and the current weather has not been making it easier. |
Thank you for the additional details 👍 |
No, thanks to you, I pulled the changes #89261 and it seems to be ok from a quick check. |
Removing |
I having this same issue in Linux, 4.3dev-4 |
Tested versions
Reproducible in: 4.3 dev4 and 4.3[bfdac95]
Not reproducible: 4.2.1
System information
Windows 11 - Vulkan - Nvidia RTX 4070 - intel i5 13600KF
Issue description
Video showcasing the issue in 4.3 and comparison with 4.2.1: https://youtu.be/LFMKV9npR8U
In 4.3 for some reason saving editor when any scene is open also modifies c# files which were last modified for some reason, this causes discontinuity in how IDEs see the file since the IDEs now see that the file was modified, one such issue is in Rider when a popup dialog appears asking you if you want to reload from disk when you try to undo every time. This is increadibly annoying.
From the file itself codewise nothing changes, so maybe godot started changing some meta data or some kind of format?
I've been checking modified status in windows file explorer (also the issue with undo happening in my IDE constantly which doesn't seem to happen in 4.2.1).
Steps to reproduce
(Follow the video above for clarity or steps below)
(10. This can cause issues in IDE syncing with files/undo history and I don't know what else, in my case it's undo issues in Jetbrains Rider)
Minimal reproduction project (MRP)
Test43master.zip
The text was updated successfully, but these errors were encountered: