javalent / fantasy-statblocks

Create Dungeons and Dragons style statblocks for Obsidian.md
MIT License
348 stars 72 forks source link

[Bug]: Bestiary isn't being synched with Obsidian Sync #232

Closed daren-thomas closed 1 year ago

daren-thomas commented 1 year ago

Check for existing bug reports before submitting.

Expected Behavior

Statblocks that refer to monsters I've added on one Computer to a vault synchronized with Obsidian Sync should show up on other computers (e.g. my tablet or another laptop).

Current behaviour

Other computers do not know about these monsters.

Reproduction

  1. (precondition) Vault is synced with Obsidian Sync
  2. Add a monster e.g. by exporting it from 5e.tools and then importing it to the bestiary in Settings
  3. Create a note referencing the monster (see below)
  4. Open note on another computer (e.g. another laptop or a tablet / mobile phone)

Example note reference:

monster: Fox
name: Ember the Red Fox

Which Operating Systems are you using?

Obsidian Version Check

1.3.5

Plugin Version

3.6.5

Confirmation

Possible solution

(workaround: export to png and use that in notes instead of the actual statblock. obviously, that's sub-optimal)

valentine195 commented 1 year ago

Do these creatures show up if you restart Obsidian after your Sync finishes?

daren-thomas commented 1 year ago

No, I'm afraid they don't...

sigrunixia commented 1 year ago

Judging by the #Obsidian-Sync channel on the Obsidian Discord, there may be some tomfoolery happening. Let's try to rule out Sync itself as the issue.

Info I Need

Can you first ensure this is enabled on every device?

image

Then, do the following:

image

Can you paste the part and timestamp of this log, then close Obsidian on device 1. (This is for preservation purposes and to rule out the other devices being the "latest file")

Open Device 2, let it update, and check the Sync Log again to see what updates. Can you paste this log?

Open Device 3, let it update, and check the Sync Log again to see what updates. Can you paste this log?

daren-thomas commented 1 year ago

OK. Now I feel really stupid. I'm sorry for bothering you: I hadn't even seen any of those settings and jumped to conclusions. I'll try out your steps later today, but I'm pretty sure that this will solve the issue.

sigrunixia commented 1 year ago

OK. Now I feel really stupid. I'm sorry for bothering you: I hadn't even seen any of those settings and jumped to conclusions. I'll try out your steps later today, but I'm pretty sure that this will solve the issue.

Don't feel stupid, because it's not the most apparent (or documented), and if done in the wrong order, can overwrite your bestiary settings. :)

daren-thomas commented 1 year ago

Tested. This works as advertised. TIL.