espositos / fvtt-tokenactionhud

Creating a token action HUD module for Foundry VTT
31 stars 38 forks source link

Token action hud not appearing in latest update #257

Closed Avitale34 closed 3 years ago

Avitale34 commented 3 years ago

Just updated this morning and can no longer get the HUD to show up.

ExileofBrokenSky commented 3 years ago

Same, but fiddling with the console looks like there is an error with the Item Macro mod, when I disabled that one, HUD was back.

Arx724 commented 3 years ago

Same, for now I just went back to 1.0.21.

Cosmic-Lattee commented 3 years ago

I don't have the Item Macro mod and I am having the issue. This is the error that was pulled up when clicking on a token in my game:

image

I am running a PF2E game.

Cosmic-Lattee commented 3 years ago

Alright so through some trial and error I determined that the error is coming from items. In this case if you "equip*" anything the error manifests.

*Clicking on the blue t-shirt.

mklummis commented 3 years ago

I had the exact same result. Equip anything, lose the HUD. Take everything off, HUD comes right back. Livable for spellcasters, but man I hope this isn't a hard bug to squash. (Also playing Pathfinder 2e)

laurieathey commented 3 years ago

PF2E, same issue as above as far as I can tell. The error pf2e-actions.js:165 Uncaught (in promise) TypeError: Cannot read property 'length' of null at pf2e-actions.js:165 at Map.filter (collection.mjs:66) at ActionHandlerPf2e._getItemsList (pf2e-actions.js:165) at PcActionHandlerPf2e._forCharacter (pf2e-actions-pc.js:45) at PcActionHandlerPf2e.buildActionList (pf2e-actions-pc.js:15) at ActionHandlerPf2e.doBuildActionList (pf2e-actions.js:40) at ActionHandlerPf2e.buildActionList (actionHandler.js:32) at TokenActionHUD.updateHud (tokenactionhud.js:386) There's a really spammy warning above it as well, which as far as I can tell happens at the same time.

foundry.js:9717 The Document#_id property is deprecated in favor of Document#id or Document#data#_id. Support will be removed in 0.9.0

Also confirmed the above reports of equiping items causing the issue. Once I unequpiped all items from my test character the bar came back, and no error in the console. Still got the wall of warnings though.

Good luck fixing, this mod is one of my favourites :)

apoapostolov commented 3 years ago

@laurieathey the issue is known related to equipped items. Try to unequip all items from a character and see if the HUD shows, it should.

AdamantiteAdventurer commented 3 years ago

The HUD does reappear when you unequip everything, but as a Fighter and Monk, it isn't feasible.

espositos commented 3 years ago

Should be fixed, as always let me know if it's not

mklummis commented 3 years ago

Tested w/ multiple units. Working well on all of them. Thank you very much! :)