Actors sheets not opening
After migrating to 0.7.7 at seemingly random times me and my players cant open their sheets.
Tried on the app and browser (Mozilla for some players, Edge for others) my current OS is Win10
bonuses.js:7 Uncaught (in promise) TypeError: Cannot read property 'walk' of undefined at applyBonuses (bonuses.js:7) at ObsidianActor.prepareDerivedData (actor.js:265) at ObsidianActor.prepareData (foundry.js:30615) at data.js:59 at Array.forEach (<anonymous>) at loadSpellData (data.js:59)
(This happens when starting^)
TypeError: An error occurred while rendering Obsidian 47: Cannot read property 'itemsByType' of undefined at Obsidian.getData (obsidian.js:181) at Obsidian._render (foundry.js:4509) at Obsidian._render (foundry.js:5163) at Obsidian._render (foundry.js:16728) at Obsidian._render (obsidian.js:413) at Obsidian.render (foundry.js:4479) at Obsidian.render (foundry.js:5629) at Obsidian.render (obsidian.js:197) at ActorDirectory._onClickEntityName (foundry.js:16209) at ActorDirectory._onClickEntityName (foundry.js:25403)
This happens when trying to open an obsidian sheet ^
Comments (7)
-
repo owner -
Version 1.1.1, the lastest available
-
repo owner Do you know which order you did the updates in? Ideally you update both dnd5e and obsidian, then load into your world. The obsidian migration prompt should appear while the dnd5e migration happens in the background. Then once the dnd5e migration completes, you should be able to then run the obsidian migration.
I think I might not have accounted for updates happening out-of-order, and this might be causing your problem, if you’re able to remember.
-
i enabled the obsidian module way after updating to the 1.1.1 edition of 5e, was looking for a sheet that me and my players could customize more freely, i made the migration after updating too
-
repo owner Alright, thanks for clarifying. For whatever reason, it seems as though your dnd5e migration failed. I would have expected you to have issues without obsidian installed at all because of that, but it sounds like you didn’t.
You can rerun the dnd5e migration by copying and pasting the following code into your console window and pressing Enter to run it:
game.settings.set('dnd5e', 'systemMigrationVersion', '0.9.9');
Once that has run (it will be almost instant), you can reload the world either by hitting F5 or returning to setup and loading into the world again.
That seemed to fix the problem for me when I tried it on the copy you sent over.
-
Okay, thanks for the help will update if it works!
Edit: Not any problem until now, seems to work, thanks for the help!
-
repo owner - changed status to resolved
- Log in to comment
What version of dnd5e are you using?