Skip to content

[BUG] Error when configuring a scene from a compendium #141

@HoneyBadger1245

Description

@HoneyBadger1245

Setup

  • OS: [e.g. windows] Windows
  • Browser: Chrome
  • Module version: 2.0.1
  • Foundry version: 13.348
  • Gaming system & version: DnD 5.1.9
  • Any other modules enabled: only libwrapper and my compendium module.

Describe the bug
i can't open a scene when accessing a compendium.

Screenshots
If applicable, add screenshots to help explain your problem.

Console Log
foundry.mjs:27232 Uncaught (in promise) Error: Failed to render Application "SceneConfig-Compendium-hoard-of-the-dragon-queen-v1and2-hotdq-v1-and-v2-scene-Scene-DDLZjuS6k8oyxhll":
Cannot read properties of undefined (reading 'pan')
[No packages detected]
at #render (foundry.mjs:27232:13)
at async #try (foundry.mjs:7166:17)Caused by: TypeError: Cannot read properties of undefined (reading 'pan')
at SceneHandler.getSceneSettings (sceneHandler.js:177:167)
at SceneHandler.getSceneConfig (sceneHandler.js:264:40)
at 🎁foundry.applications.sheets.SceneConfig.prototype._preparePartContext#LockView (overrides.js:144:53)
at 🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:639:16)
at 🎁foundry.applications.sheets.SceneConfig.prototype._preparePartContext#0 (libWrapper-wrapper.js:193:20)
at SceneConfig._renderHTML (foundry.mjs:28595:40)
at async #render (foundry.mjs:27223:22)
at async #try (foundry.mjs:7166:17)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions