Replies: 7 comments 9 replies
-
Alternatively / additionally, maybe Godot could make a dedicated tmp ( or .tmp ) folder inside of the root project directory instead of putting these files in a relevant folder amongst relevant files. |
Beta Was this translation helpful? Give feedback.
-
Are you sure these are generated by the engine? |
Beta Was this translation helpful? Give feedback.
-
I work with 4.1 and random .tmp files may remain so frequently on at least one project, I had to tell git to ignore them. They were also the cause of an annoying bug it took me a while to fix, under the assumption that a directory only contained files I expected. So what's being suggested sounds nice, yes. |
Beta Was this translation helpful? Give feedback.
-
If the files are generated by Godot then they should be removed correctly, otherwise Godot shouldn't interfere with other files generated, that would be harmful |
Beta Was this translation helpful? Give feedback.
-
Okay, so if this were to be worked on, then first it has to be clear why Godot even creates these .tmp files, and if this is strictly nessesary, and if it is nessesary, then Godot should track which files it created, and supposedly should store this in project settings, just so it can then remove them? Or maybe it could then instead put them into a tmp folder alongside the godot executable, or maybe in %appdata% ? just so it knows for sure that these files can be removed, rather than some other program creating tmp files into the project directory. |
Beta Was this translation helpful? Give feedback.
-
This appears to be the same as: Please try on 4.2 and see as the bug should be solved there |
Beta Was this translation helpful? Give feedback.
-
Yeah, I went to 4.2 a couple of days ago, and so far, no tmp files. So I think it just was a bug or something? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Godot (at least 4.2 beta)
Seems to be creating .tmp files in my project. Some of these .tmp files are days old. The .tmp extension is inside of the .gitignore so these are definitely is not needed and can be removed safely (at least whilst Godot is not running).
It kind of clutters up the file list, having more tmp files than actually useful files.
This is kind of annoying when working with the file explorer or with third party code editors. It would be nice if Godot would auto remove these files either on startup of the project, or on closal.
I'm not sure if it's on every OS or just Windows though.
Thanks for reading
Beta Was this translation helpful? Give feedback.
All reactions