foundry.js:655
Error: Failed data preparation for Scene.GDn5FWPqQtbVK8IP.Token.fo02RVjtjiY38Xh8. Cannot read properties of undefined (reading 'important')
[Detected 2 packages: vision-5e(2.5.0), system:dnd5e(3.3.1)]
at Hooks.onError (foundry.js:654:24)
at 🎁Hooks.onError#0 (libWrapper-wrapper.js:188:54)
at TokenDocument5e._safePrepareData (foundry.js:10801:15)
at Scene.prepareEmbeddedDocuments (foundry.js:10845:13)
at Scene.prepareData (foundry.js:10822:12)
at Scene._safePrepareData (foundry.js:10799:14)
at Scene._initialize (foundry.js:10630:19)
at Scene.reset (foundry.js:21396:10)
at #handleCreateDocuments (foundry-esm.js:56444:15)
at async Function.createDocuments (foundry-esm.js:11423:23)
at async Function.create (foundry-esm.js:11567:23)
Caused by: TypeError: Cannot read properties of undefined (reading 'important')
[Detected 2 packages: vision-5e(2.5.0), system:dnd5e(3.3.1)]
at token-document.mjs:16:52
Seems that a small check to make sure that the a is no empty fixes this, but unsure if that is the best way to do.
Seems that a small check to make sure that the
a
is no empty fixes this, but unsure if that is the best way to do.