crnormand / gurps

Implementing a GURPS 4e game aid for Foundry VTT
MIT License
102 stars 49 forks source link

[BUG] Characters with Foundry items cannot be opened until duplicated #1890

Open SageThalcos opened 4 months ago

SageThalcos commented 4 months ago

I'm having an issue that when I click on an Actor (from a token instance or the sidebar) nothing happens -- it does not pop up the character sheet. Duplicating the actor gets it working again, for a while, then it eventually stops working again.

Some more details:

I also get this console error when it Foundry loads, not sure if it's related:

foundry.js:753 TypeError: Failed data preparation for Actor.z3m8PKyfiOQx4fKt. Cannot read properties of undefined (reading 'translate') at parseForRollOrDamage (parselink.js:57:35) at parselink (parselink.js:234:13) at GurpsActor._applyItemBonuses (actor.js:340:17) at GurpsActor.calculateDerivedValues (actor.js:248:8) at GurpsActor.prepareDerivedData (actor.js:165:8) at GurpsActor.prepareData (foundry.js:14212:12) at GurpsActor.prepareData (actor.js:104:9) at GurpsActor._safePrepareData (foundry.js:14187:14) at Game.initializeDocuments (foundry.js:8796:18) at Game.setupGame (foundry.js:8706:10) at async Game._initializeGameView (foundry.js:9990:5)

Running GGA 0.16.8 under FVTT V11 Stable Patch 13 (Build 315) on The Forge.