ben / foundry-ironsworn

Ironsworn and Starforged, for Foundry VTT
Other
69 stars 42 forks source link

Character sheet blank when opened the first time after the Actor is created #1029

Closed Muttley closed 3 weeks ago

Muttley commented 3 weeks ago

Hi,

When creating a new Character Actor and the sheet opens for the first time, the contents of the sheet are blank. If you then close and reopen the sheet it works fine.

See example here: https://youtu.be/npEYmp73ijI

Browser log: ironsworn-character-sheet-blank.log

This is with the NodeJS version of Foundry VTT (running on Ubuntu 24.04.1

image

The same issue occurs with all mods disabled.

ben commented 3 weeks ago

Seems like there's a race in there having to do with the creation of the actor and the rendering of the sheet. I'm not able to reproduce this locally, but I can introduce a small delay between those two steps and see if it helps.

ben commented 3 weeks ago

Ha, managed to reproduce, and I was right. This fix will go out in the next release.

Muttley commented 3 weeks ago

Ha, managed to reproduce, and I was right. This fix will go out in the next release.

Lovely. Thank you.

Great work on the system BTW, it's pretty slick. :)