#Can't open character sheets error
1 messages · Page 1 of 1 (latest)
Hmm, @undone halo do you have any modules enabled? It may be worth testing it out with an empty world to see if it happens with just the system.
Probably going to be some back and forth to figure out what's happening here, so I put together a thread to try and keep it together.
Can't open character sheets error
I think I have narrowed down the issue. When I apply damage or healing and the status / damage applies to the token is when the error happens.
This doesn't do it to all token at once but over time playing the game, it happens to multiple as they are damaged and healed.
Thanks for the follow up on that. I couldn't reproduce it following those steps on the demo server, but I'll play around with it more to see what I can find. The following info would be helpful too if you can get it for me:
- Foundry version
- Browser used
- Modules enabled (I'm assuming you've disabled them at this point, but just checking)
I am using Google Chrome
I have no modules enabled.
I am using v9 build 269
As a server I am using The Forge.
What version of the Toolkit13 system are you running?
Awesome, thanks for all of the info. Does it tend to happen when just making HP changes, or is more towards things like HP changes that also apply statuses like crossing the bloodied/staggered threshold?
I have been testing with large changes like from full to 1 hp.
I can check to see if it does it with health closer to full.
I just tried with 2 hit point loss from 22 and it errored.
I just added 2 points back same result.
No errors in console log
The steps I am using up to getting the error may help.
- Open character sheet by double clicking token
- subtract or add points from hp current total
- close sheet and try to open sheet again by double clicking token.
It seems to prevent the character from opening in the actor directory interface as well only if it is a linked token like PCs.
It happens both on the player side and GM side.
I am the GM.
Are you making the HP change directly on the character sheet?
yes
I can try to apply damage via the chat cards to see if it happens then too.
I am constantly opening and closing npc sheets so it's possible that the error occurs at some point while the sheet is not yet closed or in the process of closing while damage is applied.
It doesn't seem to be triggering with using the chat card to apply the damage or healing.
I have played with trying to trigger the error with the chat card opening and closing it. I haven't gotten the error. It may be just happening with the character sheet open and adjusting the current hp manually.
Yeah, it sounds like a bug with editing the HP on the sheet specifically. Do you have any effects applied to the actors that modify the HP? I’m assuming not, but that could possibly affect it too.
No none
Alright, can duplicate this. Basically:
- If you edit hps and click anywhere else in the sheet they get updated normally and everything keeps functioning
- If you edit hps and close the sheet immediately it bugs out
Also getting a warning from Vue when the bug happens:
[Vue warn]: Component is missing template or render function.
at <App>
warn$1 @ vue.esm-browser.js:1613
finishComponentSetup @ vue.esm-browser.js:8762
setupStatefulComponent @ vue.esm-browser.js:8664
setupComponent @ vue.esm-browser.js:8586
mountComponent @ vue.esm-browser.js:6948
processComponent @ vue.esm-browser.js:6923
patch @ vue.esm-browser.js:6525
render @ vue.esm-browser.js:7683
mount @ vue.esm-browser.js:5924
app.mount @ vue.esm-browser.js:10839
(anonymous) @ actor-sheet-v2.js:156
Promise.then (async)
render @ actor-sheet-v2.js:151
render @ foundry.js:10819
_onUpdate @ foundry.js:10873
_onUpdate @ foundry.js:13762
_onUpdate @ actor.js:1637
callback @ foundry.js:10300
(anonymous) @ foundry.js:10251
_handleUpdateDocuments @ foundry.js:10251
_updateDocuments @ foundry.js:10131
async function (async)
_updateDocuments @ foundry.js:10122
update @ backend.mjs:154
async function (async)
update @ backend.mjs:151
updateDocuments @ document.mjs:373
update @ document.mjs:456
_updateObject @ foundry.js:4314
_onSubmit @ foundry.js:3853
_onChangeInput @ foundry.js:3901
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
remove @ vue.esm-browser.js:9298
performRemove @ vue.esm-browser.js:7587
remove @ vue.esm-browser.js:7605
unmount @ vue.esm-browser.js:7548
unmountComponent @ vue.esm-browser.js:7635
unmount @ vue.esm-browser.js:7521
unmountComponent @ vue.esm-browser.js:7635
unmount @ vue.esm-browser.js:7521
render @ vue.esm-browser.js:7679
unmount @ vue.esm-browser.js:5944
close @ actor-sheet-v2.js:172
onclick @ foundry.js:3294
(anonymous) @ foundry.js:3203
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
Guess: the sheet is trying to animate the hp bar change and fails because it's closed?
Note: the same bug happens if you e.g. edit ability scores and close the sheet without changing focus first.
So it seems to be a general bug and not strictly related to hps or conditions/AEs.
@stray condor leaving this one to you, you're the Vue expert.
I'm glad someone else was able to reproduce it! I came across it GMing and helping players with their PCs.
Well, in the short term just try to change focus (click somewhere else) before closing the sheet to avoid this. But we do need to get to the bottom of it. Thanks for bringing it up.