Obsidian creating infinite nested folders within vault

Steps to reproduce

I’m not really sure what the steps are as I don’t know what caused this exactly. Since the last Obsidian update on mobile (android 15, obsidian 1.10.6) I discovered one of my folders in my vault had itself been registered as a vault. I have synch turned on and also use Obsidian on my computer. When I opened my phone at the same time by accident, it generated a conflicting file copy. I deleted the file, closed both apps, and then opened again on my phone. Obsidian then proceeded to copy the entire contents of the primary vault into this secondary vault, including the secondary vault folder itself with the .obsidian folder data. This then triggered it to happen again. Before I realized what was going on, Obsidian had generated 800+ nested folders with over 100Mb of data, which then synched to my PC. Attempting to remove or edit the folders on either operating systems crashes the file explorer. I am now unable to turn synch on without triggering infinite recursion.

Did you follow the troubleshooting guide? [Y/N]

I couldn’t find anything in the troubleshooting guide about this bug. Also I can’t really touch the vault folder now without crashing due to folder paths exceeding memory.

Expected result

Obsidian not trying to nuke my devices.

Actual result

Obsidian nuking my devices with the equivalent of a zip bomb.

Environment

SYSTEM INFO:
Operating system: android 15 (OnePlus ONEPLUS A6013)
Webview version: 139.0.7258.143
Obsidian version: 1.10.6 (256)
API version: v1.10.6
Login status: logged in
Language: en
Catalyst license: none
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none


Additional information

They’re multiplying. Send help o_o

In your operating system’s file browser:

  • Go into the folder that was incorrectly registered as a vault.
  • Enable viewing of hidden files, and remove the .obsidian folder. That will make it no longer a vault.
  • Remove the copy of the vault that was added to that folder.

Also, have you got your vault stored in another cloud tool like OneDrive on any of your devices? Possibly you have two sync tools fighting each other.