Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WebGL context is lost when trying to display models with many vertices

See original GitHub issue

I tried to display some samples with Ashes v0.0.18. However, it seems to fail when trying to display the model of the number of vertices.

WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost
Model name result
Cylinder Engine
Reciprocating Saw
Gearbox Assy

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

cx20commented, Feb 11, 2019

I confirmed that the above problem was solved with the latest version of the library.

Ashes v0.0.23 + Buggy.gltf result: image

Ashes v0.0.23 + CesiumMilkTruck.gltf result: image

but0ncommented, Feb 11, 2019

Thanks! That was a mistake of texture handler. image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Long-running shaders result in webgl context lost #263 - GitHub
Sometimes it prints NaN, and Chrome reports that "WebGL hit a snag"; Sometimes it errors with "Couldn't compile vertex shader"; Sometimes it ...
Read more >
WebGL scene does't render because of lost context
Your browser is hanging while rendering the WebGL scene and loses its context because the browser has effectively lost control on your GPU....
Read more >
"WebGL: CONTEXT_LOST_WEBGL" when loading large scenes
Hi, I want to use Blend4Web to visualize concepts for my company's ... viewer.html:1 WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost
Read more >
WebGL best practices - Web APIs - MDN Web Docs - Mozilla
Avoid changing VAO attachments (vertexAttribPointer, disable/enableVertexAttribArray) · Delete objects eagerly · Lose contexts eagerly ; Use webgl.
Read more >
WebGL Multiple Views, Multiple Canvases
This is a good solution for simulating multiple canvases. Let's say you wanted to make character selection screen for a game an you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found