Syntax Error with Web Audio Cache plugin

While it's not crashing the game at all I went into the console and found this on several different occasions:

 

Spoiler
WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Cursor2.ogg
WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Decision1.ogg
WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Cancel2.ogg
WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Buzzer1.ogg
WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/bgm/Blank.ogg
WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Cursor2.ogg
WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Decision1.ogg
WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Cancel2.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Buzzer1.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/bgm/Blank.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/bgm/MainTheme.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/bgm/MainTheme.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:28 [WebAudioCache] PURGE consideration on old data...
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/bgm/EarthHome.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Equip1.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Splash.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Equip2.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Cat.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Item1.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Open1.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Chest1.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Move1.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Open4.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Equip1.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Splash.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Equip2.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Cat.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Item1.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Open1.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Chest1.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Move1.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Open4.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/bgm/EarthHome.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:82 [WebAudioCache] RETRIEVE from cache: audio/bgm/EarthHome.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:106 [WebAudioCache] CACHE MISS on new audio: audio/se/Cursor1.ogg
/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:72 [WebAudioCache] ADD to cache: audio/se/Cursor1.ogg
45/C:/Users/starw/Documents/Games/AHTDS/js/plugins/WebAudioCache.js:82 [WebAudioCache] RETRIEVE from cache: audio/se/Cursor1.ogg
Those look like simple processing messages tellung you what the cache control currently does.


And I don't see a single error message on the entire log, much less a syntax error - are you sure you copied the correct log?


Because everything in that log says "cache works as intended"...
Those look like simple processing messages tellung you what the cache control currently does.


And I don't see a single error message on the entire log, much less a syntax error - are you sure you copied the correct log?


Because everything in that log says "cache works as intended"...


Yes but it seemed to fail to copy that part although it was selected.

The error is

index.html:1 Uncaught Syntax Error: Unexpected identifier
That error has nothing to do directly with the rest - we can't even be sure that it is caused by that cache script.


Can you give a link to that plugin? Perhaps we can disable the cache reports to see what is then left of the console output.
Can you give a link to that plugin?

Original thread: https://forums.rpgmakerweb.com/threads/syntax-error-with-web-audio-cache-plugin.62924/