grandseiken / foundryvtt-multilevel-tokens

Multilevel tokens for Foundry VTT
MIT License
41 stars 20 forks source link

Unlinked tokens with condition icons do not update in cloned regions #105

Closed jcolemanquotient closed 2 years ago

jcolemanquotient commented 3 years ago

When a token that isn't linked to the base actor sheet and has a condition icon active is moved into a clone view region, the cloned token will not follow its movements. This happens with only Multilevel Tokens enabled, updated to the latest version and using the 5e system.

The console error always seems to be the same as well: foundry.js:16627 Uncaught (in promise) TypeError: Cannot read property '_preUpdate' of null at TokenDocument5e._preUpdateTokenActor (foundry.js:16627) at TokenDocument5e._preUpdate (foundry.js:16568) at async ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:8772) at async ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:8728)

However, the issue is strange, and I'm not certain if the condition really is the cause or not.

Shuggaloaf commented 2 years ago

Hi Hydrall, another user with this issue here. This seems to be a duplicate of #106, or I should say that one is a dup of yours. I commented over there and I do not think it is condition related as I had the issue without any active status effects/icons. Check the posts on #106 (not that we have a resolution yet).