StarWarsFoundryVTT / StarWarsFFG

StarWarsFFG System for Foundry VTT.
http://www.foundryvtt.com
MIT License
93 stars 78 forks source link

Combat Encounters Rendering Error #1602

Open realkaleidio opened 3 months ago

realkaleidio commented 3 months ago

Describe the bug After opening the world multiple times, the Combat Encounters tab breaks entirely, throwing this error message:
foundry.js:631 Error: An error occurred while rendering CombatTrackerFFG 25. Cannot read properties of undefined (reading 'pop') at Hooks.onError (foundry.js:630:24) at foundry.js:5770:13 onError @ foundry.js:631 This seems to happen no matter what world I create, though oddly the first few starts of the world the combat tracker seems to work as one would expect it to.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'create world.'
  2. Leave world and come back an uncertain amount of times.
  3. Click on 'combat tracker'
  4. See error

Expected behavior Clicking on the "Combat Encounters" tab should show the Combat Tracker.

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

Desktop (please complete the following information):

Caintain commented 2 weeks ago

Just recently updated my installation to Foundry version 12 Build 331 today, from version 10. Then updated the FFG module to the current version 1.903. The install is self hosted. At first the combat log just appeared odd, which I attribute to the major change in versions and design. However after removing an encounter and logging out and back in again when navigating between encounters stopped working, I encountered the described (I think) issue for this post. image Modules that are active: