How simulate WebGL rendering crash

75 views
Skip to first unread message

RikM

unread,
Mar 30, 2019, 2:17:21 PM3/30/19
to cesium-dev
Hi all!

Sometimes in my web application a rendering error happens, it is quite randomic and i need to catch it to properly manage it.

I am wondering if exists a call to deliberately crash the WebGL in order to create a real "Runtime error" and see if it is correclty managed by my code.

I tryed some codes but nothing seems to work!

Any idea?

I have to write a code to recreate something like that :

27720905_145015882856559_1828000910_n.jpg

Thank you!

9388...@qq.com

unread,
Apr 1, 2019, 8:58:06 AM4/1/19
to cesium-dev
I meet the same problem too.It happened in chrome with old version,but won't happen in firefox.

Omar Shehata

unread,
Apr 1, 2019, 2:41:40 PM4/1/19
to cesium-dev
See my answer here about preventing these errors from popping up: https://groups.google.com/d/msg/cesium-dev/bMlM2adWrG0/7WhyIsvFGQAJ

Usually when you get an error like that, it means Cesium has caught it and is displaying this message to you. If you're using the unminified Cesium source you could see what line is throwing that error that'll give you a clue why it's happening.
Reply all
Reply to author
Forward
0 new messages