You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
I'm trying run the Sketch example (Expo.Sketch /examples/sketch/App.js) from this repository. It works fine on iOS but it crashes on Android:
TypeError: undefined is not an object (evaluating '_this.lastPoint.x')
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:171:19 in handleException
at #node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0
at [native code]:null in flushedQueue
at [native code]:null in invokeCallbackAndReturnFlushedQueue
[Unhandled promise rejection: TypeError: this.nativeVaoExtension.bindVertexArrayOES is not a function. (In 'this.nativeVaoExtension.bindVertexArrayOES(null)', 'this.nativeVaoExtension.bindVertexArrayOES' is undefined)]
at node_modules/pixi.js/lib/core/renderers/webgl/WebGLState.js:259:12 in resetToDefault
at node_modules/pixi.js/lib/core/renderers/webgl/WebGLRenderer.js:310:8 in _initContext
at node_modules/pixi.js/lib/core/renderers/webgl/WebGLRenderer.js:245:8 in WebGLRenderer
at node_modules/pixi.js/lib/core/autoDetectRenderer.js:63:15 in autoDetectRenderer
at node_modules/expo-pixi/lib/components/Sketch.js:195:20 in onContextCreate
at node_modules/expo-pixi/lib/components/Sketch.js:182:20 in onContextCreate
at node_modules/expo-gl/build/GLView.js:25:16 in _onSurfaceCreate
at [native code]:null in callFunctionReturnFlushedQueue
I'm also dealing with the same issue with the same installed versions and eager for a solution. Is there an older version that this might work on which is stable?
In case someone still has this issue, I was able to solve the crash on android by using the solution from here (apparently it's the same issue but in the Signature class). Simply changing from Signature to Sketch worked for me.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying run the Sketch example (Expo.Sketch /examples/sketch/App.js) from this repository. It works fine on iOS but it crashes on Android:
Installed versions:
Prior to the Type Error I get a warning:
Example repository https://github.com/gperler/pixi-test
The text was updated successfully, but these errors were encountered: