Larkinabout / fvtt-token-action-hud-core

Token Action HUD is a repositionable HUD of actions for a selected token.
14 stars 23 forks source link

[BUG] HUD does not appear for only one player (PF2E) #282

Open dzsilberstein opened 2 weeks ago

dzsilberstein commented 2 weeks ago

Describe the bug The overall HUD is not appearing for one player but shows up fine for the Gamemaster and the other 3 players in the same game.

Versions:

Larkinabout commented 1 week ago

Afraid I will need more info. Can you log in as the player and see if you get the same issue. If so, press F12 and see if there are any red errors in the console.

dzsilberstein commented 1 week ago

There was this error when I had Dorako UI enabled. I disabled Dorako UI but the HUD still did not show up.

Error: Error thrown in hooked function '' for hook 'renderTokenActionHud'. Cannot read properties of undefined (reading 'dataset') [Detected 1 package: pf2e-dorako-ui(3.7.5)] at Hooks.onError (foundry.js:654:24) at 🎁Hooks.onError#0 (libWrapper-wrapper.js:188:54) at #call (foundry.js:636:36) at Hooks.callAll (foundry.js:589:17) at #doEvent (foundry-esm.js:44921:17) at #render (foundry-esm.js:44366:20) at async Semaphore._try (foundry-esm.js:6645:19)Caused by: TypeError: Cannot read properties of undefined (reading 'dataset') [Detected 1 package: pf2e-dorako-ui(3.7.5)] at Object.fn (ui-theme.js:84:20) at #call (foundry.js:632:20) at Hooks.callAll (foundry.js:589:17) at #doEvent (foundry-esm.js:44921:17) at #render (foundry-esm.js:44366:20) at async Semaphore._try (foundry-esm.js:6645:19) onError @ foundry.js:655Understand this errorAI foundry.js:635 Foundry VTT | Error thrown in hooked function '' for hook 'renderTokenActionHud'

call @ foundry.js:635Understand this warningAI

foundry.js:655 Error: Error thrown in hooked function '' for hook 'renderTokenActionHud'. Cannot read properties of undefined (reading 'dataset') [Detected 1 package: pf2e-dorako-ui(3.7.5)] at Hooks.onError (foundry.js:654:24) at 🎁Hooks.onError#0 (libWrapper-wrapper.js:188:54) at #call (foundry.js:636:36) at Hooks.callAll (foundry.js:589:17) at #doEvent (foundry-esm.js:44921:17) at #render (foundry-esm.js:44366:20) at async Semaphore._try (foundry-esm.js:6645:19)Caused by: TypeError: Cannot read properties of undefined (reading 'dataset') [Detected 1 package: pf2e-dorako-ui(3.7.5)] at Object.fn (ui-theme.js:84:20) at #call (foundry.js:632:20) at Hooks.callAll (foundry.js:589:17) at #doEvent (foundry-esm.js:44921:17) at #render (foundry-esm.js:44366:20) at async Semaphore._try (foundry-esm.js:6645:19) onError @ foundry.js:655Understand this errorAI game:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was receivedUnderstand this errorAI

ArchaeanDragon commented 22 hours ago

Also having this problem, as the player having it. Here's what I see in the main browser console log that seems relevant:

Uncaught (in promise) TypeError: U[n] is undefined [Detected 1 package: token-action-hud-core(2.0.7)] switchCSS http://(redacted):30000/modules/token-action-hud-core/dist/token-action-hud-core.min.mjs:1 registerCoreModule http://(redacted):30000/modules/token-action-hud-core/dist/token-action-hud-core.min.mjs:1 token-action-hud-core.min.mjs:1:12637

There's another version of the same error in the F12 screen: Uncaught (in promise) TypeError: U[n] is undefined [Detected 1 package: token-action-hud-core(2.0.7)] switchCSS utils.mjs:514 registerCoreModule main.mjs:39

Using FIrefox 132.0.2 (64-bit)