Update: I tested the Qix example on my PC. It worked fine on both the app and from the Edge browser. I couldn’t get it to crash. I’ll try it further on my phone. It could be my phone or a setting.
I was trying the Marching Squares Qix example and after a few swipes, it crashes with the red screen of death. It seems to happen after a few downward swipes especially off the bottom of the scene.
This was on the web version using the Chrome browser. I’ll try to remember to try it on my PC the next time on at it.
The screengrab and preformated text were from different crashes.
An error happened in a JavaScript code event.
This error comes from a JavaScript code event. Verify your code to ensure no error is happening. You can use the Developer Tools (menu "View" > "Toggle Developer Tools"). Full error is: Cannot read properties of undefined (reading '36')
TypeError: Cannot read properties of undefined (reading '36')
at GDJSInlineCode.ScalarField.extrapolate (https://game-previews.gdevelop.io/1700767609549-738739/gdjs-evtsext__marchingsquares__definescalarfieldpainterlibrary-func.js?gdCacheBurst=4258243588:328:53)
at GDJSInlineCode.HeightMap.getHeight (https://game-previews.gdevelop.io/1700767609549-738739/gdjs-evtsext__marchingsquares__definescalarfieldpainterlibrary-func.js?gdCacheBurst=4258243588:920:37)
at GDJSInlineCode.prototype.containsPoint (https://game-previews.gdevelop.io/1700767609549-738739/gdjs-evtsext__marchingsquares__marchingsquaresbehavior.js?gdCacheBurst=4258243588:215:41)
at Object.GDJSInlineCode [as userFunc0x9664d0] (https://game-previews.gdevelop.io/1700767609549-738739/gdjs-evtsext__marchingsquares__marchingsquaresbehavior.js?gdCacheBurst=4258243588:4353:46)
at gdjs.evtsExt__MarchingSquares__MarchingSquaresBehavior.MarchingSquaresBehavior.ContainsPointContext.eventsList0 (https://game-previews.gdevelop.io/1700767609549-738739/gdjs-evtsext__marchingsquares__marchingsquaresbehavior.js?gdCacheBurst=4258243588:4363:111)
at gdjs.evtsExt__MarchingSquares__MarchingSquaresBehavior.MarchingSquaresBehavior.ContainsPoint (https://game-previews.gdevelop.io/1700767609549-738739/gdjs-evtsext__marchingsquares__marchingsquaresbehavior.js?gdCacheBurst=4258243588:4433:111)
at gdjs.evtsExt__PathPainter__PathPainter.PathPainter.HasIntersectionWithBallContext.eventsList1 (https://game-previews.gdevelop.io/1700767609549-738739/gdjs-evtsext__pathpainter__pathpainter.js?gdCacheBurst=4258243588:1801:207)
at gdjs.evtsExt__PathPainter__PathPainter.PathPainter.HasIntersectionWithBall (https://game-previews.gdevelop.io/1700767609549-738739/gdjs-evtsext__pathpainter__pathpainter.js?gdCacheBurst=4258243588:1894:93)
at gdjs.GameCode.eventsList1 (https://game-previews.gdevelop.io/1700770325499-838868/code0.js?gdCacheBurst=4258243588:209:75)
at gdjs.GameCode.eventsList10 (https://game-previews.gdevelop.io/1700770325499-838868/code0.js?gdCacheBurst=4258243588:941:15)