-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Editor changes lines of code around in two .tscn files on every play. #28346
Comments
Does it happen only for this project? What if you make a new project and copy these .tscn files there? (and if it still happens, attaching here the new project along with scenes would be helpful) |
Is it only reproducible in 3.1.1 RC1, or also in 3.1 stable? |
@KoBeWi it's mostly changing the lines of sprites around. Simply moving the .tscn without all the other stuff would give a completely other setup after one play and probably not produce the same bug. I won't post the source here but I will share it with someone from the Godot team if asked. Also I found that sometime it does not change it on every play but when I restart the editor it does change the files every time again. See a .gif below showing two versions of the .tscn file created after play both vs the original. (That original is just a version created with this bug, I committed the files twice in a row before realizing its a bug loop.) @akien-mga my project crashes 3.1 so I can't test that sorry. |
Just noticed this only happens when I have the scene with the bug open as a tab in the editor. If the tab is in focus does not matter. When the tab is closed and I run play it's file does not get changed. |
@ScepticDope Can you test if it still happens in 3.2? It should be fixed. Or 3.1.2 has it fixed too probably. |
@KoBeWi tested it on Only inside here: |
This might be the same case as #33411 |
Duplicate of #22226. |
Godot version:
3.1.1 RC1 with Mono
Issue description:
There are two .tscn files in my project that Godot likes to change on every play in the editor. It just changes the order of the lines of code in the file for no apparent reason. The two .tscn's are very similar I don't think that is causing it but it might help in finding out why this happens.
Steps to reproduce:
I have no idea how to reproduce this but I can give source of my project to dev team if need be.
The text was updated successfully, but these errors were encountered: