bridge-core/editor

Cannot activate com.mojang syncing

Opened this issue ยท 4 comments

Summary
Cannot activate com.mojang syncing.

To Reproduce

  1. Make a new installation of Bridge (or at least be sure that Bridge does not have folder access to com.mojang)
  2. Make a new project
  3. Drag your com.mojang into Bridge

Observed behavior
A browser popup shows up saying editor.bridge-core.app cannot open this folder, beacuse it contains system files.

Expected behavior
com.mojang syncing works

Screenshots / File Attachments
problem

Platform (please complete the following information):
Windows 11
Chrome / Edge
Bridge v2 PWA

Additional context
When clicking the cancel button (Annuler in the screenshot), an error appears in the console.
main-71074fff.js:97 Uncaught (in promise) AbortError: Failed to execute 'getAsFileSystemHandle' on 'DataTransferItem': The user aborted a request.

I get the same issue. Using Chrome.

The solution is to download bridge native. You can find the latest release here: https://bridge-core.app/guide/download/

I'm still looking into ways to fix this on web but this seems to be a change that sometimes happens and there's not much we can do about web.

As reference, the issue can be tracked at WICG/file-system-access#381. It is disapointing that it won't be changed any time soon for web. But thanks for your help, I will use the native version for using this feature.

EDIT: For the web version, there should be a message saying "com.mojang sync is not supported on the web version."