FyroxEngine / Fyrox

3D and 2D game engine written in Rust
https://fyrox.rs
MIT License
7.48k stars 339 forks source link

Bug found - Clicking in asset browser deleted some files and duplicated the data folder 180+ times until I Ctrl+C the editor process. #614

Closed Andy-Olshanky closed 3 months ago

Andy-Olshanky commented 4 months ago

I was trying to drag n drop an asset into the game editor, and I clicked on the asset browser root (.) folder, then clicked on the data folder. This caused the editor to freeze and become unresponsive, and after a few seconds I look at the terminal and see it typing a bunch of stuff, namely saying "/data/data/data/data...." over and over again, presumably making a new directory or something. When I look in my files, I see one of the folders (called character) in the data folder got deleted, and another data folder was created inside the root data folder. The other folder (called tiles) that was in the initial asset directory got moved into the newly created data folder, but it got it's contents wiped. Opening the new data folder revealed another data folder and tiles folder, but the tiles folder was empty. Clicking on the next level of data folder revealed another data and tiles folder, and I assume this continues on for another 180+ iterations. The data in the tiles folder was still there, in what I assume to be the last level. I have no idea why this happened but I figured I should report this. Thankfully I had like 2 pictures in there of which I had backups, but I'd hate to see this happen to someone with a lot of data to lose sometime in the future.

mrDIMAS commented 3 months ago

Hi! Could you please re-check if this bug still occurs on the latest engine?

Andy-Olshanky commented 3 months ago

Hello, I went back and did the same thing about 5 minutes after the bug occured and it didn't happen again. I've don't that same thing before the bug too, and it didn't happen until then. I'm really not sure why it happened, but it didn't happen afterwards. I also just checked now and it did not happen.

On Tue, Mar 5, 2024, 02:40 Dmitry Stepanov @.***> wrote:

Hi! Could you please re-check if this bug still occurs on the latest engine?

— Reply to this email directly, view it on GitHub https://github.com/FyroxEngine/Fyrox/issues/614#issuecomment-1978132400, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZCOFPSLNPGBTYST3L7ZLWTYWVZGJAVCNFSM6AAAAABEGG2HYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZYGEZTENBQGA . You are receiving this because you authored the thread.Message ID: @.***>