magic-script-samples icon indicating copy to clipboard operation
magic-script-samples copied to clipboard

sample-gestures app crashes immediately

Open jagatfx opened this issue 5 years ago • 0 comments

OS Version 0.97.0 magic-script version 2.2.2

Issue appears to be in https://github.com/magic-script/magic-script-samples/blob/master/sample-gestures/src/app.js#L275 and https://github.com/magic-script/magic-script-samples/blob/master/sample-gestures/src/app.js#L301.

mldb log:

08-09 00:05:06.662  2817     1 I MagicScript: VM: Starting app event loop...
08-09 00:05:19.014  2817     1 E MagicScript: VM: Uncaught TypeError: Cannot read property '3' of null: bin/node_modules/gl-matrix/esm/vec3.js 124:11
08-09 00:05:19.014  2817     1 E MagicScript: VM:   0: bin/node_modules/gl-matrix/esm/vec3.js 124:12
08-09 00:05:19.014  2817     1 E MagicScript: VM:   1: bin/src/app.js 307:24
08-09 00:05:19.014  2817     1 E MagicScript: VM:   2: bin/src/app.js 85:14
08-09 00:05:19.014  2817     1 E intergen: exception during virtual call: ::lumin::ImmersiveApp::updateLoop
08-09 00:05:19.212  2817     1 I MagicScript: VM: Event loop finished.
08-09 00:05:19.233  2817     1 I MagicScript: mxs: Terminating: 'bin/index.js'

The line numbering in the log does not match the source files unfortunately.

jagatfx avatar Aug 09 '19 04:08 jagatfx