Closed Avitale34 closed 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.
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:
I am running a PF2E game.
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.
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)
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 :)
@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.
The HUD does reappear when you unequip everything, but as a Fighter and Monk, it isn't feasible.
Should be fixed, as always let me know if it's not
Tested w/ multiple units. Working well on all of them. Thank you very much! :)
Just updated this morning and can no longer get the HUD to show up.