Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | TheConceptBoy |
Good day.
I’m running a test using a web server (Uniform Server). I cannot get the game to run on GLES3. GLES2 works fine but you get the GLES2 limiations with it using WebGL 1.0. I’d really like to use GLES3 with WebGL 2.0.
I get the:
Cannot read property 'getParameter' of undefined
What is the cause of this issue? I’m testing on Chrome, Firefox and Opera
This is the console log error from the browser.
index.js:7 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
RuntimeEnvironment.ASM_CONSTS @ index.js:7
index.js:7 exception thrown: TypeError: Cannot read property 'getParameter' of undefined,TypeError: Cannot read property 'getParameter' of undefined
at _glGetString (http://localhost/index.js:7:264742)
at __ZN15RasterizerGLES310initializeEv (wasm-function[41579]:0x7edb20)
at __ZN18VisualServerRaster4initEv (wasm-function[40145]:0x77b45f)
at __ZN13OS_JavaScript10initializeERKN2OS9VideoModeEii (wasm-function[42562]:0x839430)
at __ZN4Main6setup2Ey (wasm-function[36467]:0x65dc2a)
at __ZN4Main5setupEPKciPPcb (wasm-function[36469]:0x662d53)
at _main (wasm-function[19712]:0x40336e)
at Object.RuntimeEnvironment.Module._main (http://localhost/index.js:7:316091)
at Object.callMain (http://localhost/index.js:7:319807)
at Engine.synchronousStart (http://localhost/index.js:216:15)
callMain @ index.js:7
(index):241 Cannot read property 'getParameter' of undefined
displayFailureNotice @ (index):241
index.js:7 **ERROR**: Condition ' !_start_success ' is true. returned: false
put_char @ index.js:7
index.js:7 At: main/main.cpp:1278:start() - Condition ' !_start_success ' is true. returned: false
put_char @ index.js:7
index.js:7 78
index.js:7 78
abort @ index.js:7
index.js:7 Uncaught abort(78). Build with -s ASSERTIONS=1 for more info.
index.js:7 101
index.js:7 101
abort @ index.js:7
index.js:7 Uncaught abort(101). Build with -s ASSERTIONS=1 for more info.
index.js:7 101
index.js:7 101
abort @ index.js:7
index.js:7 Uncaught abort(101). Build with -s ASSERTIONS=1 for more info.
index.js:7 101
index.js:7 101
abort @ index.js:7
index.js:7 Uncaught abort(101). Build with -s ASSERTIONS=1 for more info.
index.js:7 101
index.js:7 101
abort @ index.js:7
index.js:7 Uncaught abort(101). Build with -s ASSERTIONS=1 for more info.
TheConceptBoy | 2019-10-23 23:10