fantasycalendar / FoundryVTT-Tagger

Other
6 stars 4 forks source link

Error when trying to preload files #1

Closed Vauryx closed 3 years ago

Vauryx commented 3 years ago

Getting this error when trying to preload some animation - this is the hook being registered

 Hooks.on("preloadfiles", async () => {
      console.log('connecting user...', game.user);
      console.log('starting preload of resources...');

      let allFiles = [];
      SequencerDatabase.getAllFileEntries("EffectAudioDB").forEach((filePath) => allFiles.push(filePath));
      SequencerDatabase.getAllFileEntries("AnimDB").forEach((filePath) => allFiles.push(filePath));
      console.log('Files about to be preloaded...',allFiles);
      await SequencerPreloader.preloadForClients(allFiles, true);
    });

This is the error -- image