Skip to content

Cannot read properties of null (reading 'blendFuncSeparate') #2443

@JiayiXuu

Description

@JiayiXuu

High-level description

Chrome browser unable to render WebGL content unless the browser is restarted.

Steps to reproduce

The bug shows up somewhat randomly, mostly under one of the two circumstances:

  • After vtk.js window is opened in browser for too long and try to refresh the page.
  • After vtk.js window crashes due to excess memory/computation usage, (i.e. when inspector reports "Content lost" and the screen becomes blank), and try to refresh the page.

Detailed behavior

image

webpack compile and local server is successful, but same bug still shows up after recompiling webpack, seems like a browser issue.
image

Environment

  • vtk.js: latest master
  • OS: Windows 10
  • Browser: <Chrome Version 101.0.4951.54

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions