Open neanderthalbrainman opened 2 months ago
Also in case it matters my original folder was 'code' not 'Code'
Just had this happen to me when accidentally misclicking (mis-dragging) a folder. Trying desperately to rescue the stuff buried so deep that windows explorer won't let me access it.
To anyone else wanting to rescue their files out of the infinitely nested subfolder I used Powershell with the following commands:
Get-ChildItem -Path ./ -Recurse -File | Move-Item -Destination ./
(while Powershell was opened to the folder that got infinitely recursed, which in my case was /Assets/prefabs/levels/ (/levels/levels/levels...)
Then to delete all the infinitely nested folders I did: Remove-Item ./levels/ -Recurse -Force
, again from inside the top /levels/ folder, to delete all the recursing dupes.
I should have posted that too, this is almost exactly how I resolved it for myself. Thank you!
This has been fixed, I posted a duplicate of this one in the council chat, sorry! https://github.com/Facepunch/sbox-issues/issues/6258
Describe the bug
When drag and dropping to move a folder, a recursive loop can occur which will continually copy the files into continually deeper levels.
This folder contained a bunch of .cs files which interacts with GameObjects.
Reference A:
To Reproduce
Expected behavior
The 'code' folder and the csproj files associated should be copied into the "Assets" folder, rather than creating a new folder called 'code' in the current directory and placing the project files there.
Media/Files
No response
Additional context
The log files for the editor at the time of issue as follows:
Windows 11, Build ID 15247250