Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | arutsu | |
Old Version | Published before Godot 3 was released. |
I exported the demo project “Platformer” as a HTML5 game, and test it by firefox and node-webkit. In firefox I got the “TypeError: _as_voices[$0] is null” error , when in node-webkit the problems was :
Uncaught InvalidStateError: Failed to execute 'stop' on 'AudioBufferSourceNode': cannot call stop without calling start first.
2daction.html:331 exception thrown: InvalidStateError: Failed to execute 'stop' on 'AudioBufferSourceNode': cannot call stop without calling start first.,Error: Failed to execute 'stop' on 'AudioBufferSourceNode': cannot call stop without calling start first.
at Error (native)
at Array._as_voice_gain.(anonymous function).gain.value (file:///E:/output/2daction.js:1:24487)
at _emscripten_asm_const_iiiiiiddi (file:///E:/output/2daction.js:1:26670)
at Array.ek (file:///E:/output/2daction.js:18:51817)
at Array.HYc (file:///E:/output/2daction.js:8:157257)
at Array.FYc (file:///E:/output/2daction.js:8:155157)
at Array.GJf (file:///E:/output/2daction.js:14:98991)
at fHg (file:///E:/output/2daction.js:24:272009)
at ln (file:///E:/output/2daction.js:18:314585)
at Array.ao (file:///E:/output/2daction.js:18:477064)
In firefox the game can work still ,with a alert dialog showed in the middle of the screen, but would crash in node-webkit.
By the way , the exported html5 game cost a lot of time to load.