4 ms·
I wish Apple phones wouldn’t constantly crash when loading WebGL graphics libraries. I’m working in BabylonJS right now, and not only will the page crash on iO
by FractalHQ 5y ago
I wish Apple phones wouldn’t constantly crash when loading WebGL graphics libraries. I’m working in BabylonJS right now, and not only will the page crash on iOS Safari, but there’s no way to debug it. It (frustratingly) runs fine inside of the iPhone Simulator on MacOS, which is the only way I’ve been able to access devtools or crash logs.
And I’ve successfully rendered BabylonJS on iOS in the past, so I know it’s not just me.
I’m working on another website at the moment using pixi.js, and I’m dreading the battle I’ll be facing with Safari.
Does anyone here have advice on how to better deal with WebGL + iOS debugging? OP and I seem to be faced with the same problems…
- dimal 5y agoIs it a problem with BabylonJS? ThreeJS stuff always works fine for me.
- mtm7 5y agoIf you have an iPhone, you can physically connect it to your computer and inspect its elements through Safari's DevTools. It's a little unintuitive, but I wrote a walkthrough on how to set it up here (see the second section) [0]. I don't know why they make this so hard, ha! [0]: https://mtm.dev/iphone-localhost-mac https://mtm.dev/iphone-localhost-mac