foundryvtt / worldbuilding

A simple game system for Foundry VTT which allows for flexible definition of Actors and Items to assist with worldbuilding or for running games which do not have a more complete system implementation available.
https://foundryvtt.com/packages/worldbuilding
MIT License
29 stars 34 forks source link

Cannot open Combat Tracker config on v12 #65

Open BoltsJ opened 3 months ago

BoltsJ commented 3 months ago

Attempting to open the Combat tracker configuration on v12 throws an error and fails to open the window.

To reproduce:

  1. Launch a world on v12
  2. Click the cog icon in the combat tracker
  3. The config window doesn't open and the following error is printed to the console: image

This happens even with no modules enabled.

zorida commented 3 months ago

Same for me on Simple Worldbuilding with Foundry v.12 build 328, no dialog opens and I receive the kind of error below. Note that the same error arises even without the lib-wrapper module or with no module installed. Cannot read properties of undefined (reading 'Actor'). Same kind of error when I try to open Configure Default Token Settings


Error: An error occurred while rendering CombatTrackerConfig 27. Cannot read properties of undefined (reading 'Actor')
    at Hooks.onError (foundry.js:630:24)
    at 🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:507:22)
    at 🎁Hooks.onError#lib-wrapper (listeners.js:138:11)
    at 🎁Hooks.onError#0 (libWrapper-wrapper.js:187:52)
    at foundry.js:5770:13
onError @ foundry.js:631
🎁call_wrapped @ libWrapper-wrapper.js:507
🎁Hooks.onError#lib-wrapper @ listeners.js:138
🎁Hooks.onError#0 @ libWrapper-wrapper.js:187
(anonymous) @ foundry.js:5770
Promise.catch (async)
render @ foundry.js:5768
onClickSubmenuWrapper @ colorSetting.js:21
🎁call_wrapper @ libWrapper-wrapper.js:591
🎁SettingsConfig.prototype._onClickSubmenu#0 @ libWrapper-wrapper.js:189
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2```
MagrothJ commented 1 week ago

The same happens for me. No modules activated. image