Skip to content

WebGL crash when point clouds are enabled #688

Description

@laurenfrederick

What happened?

Forum Post: https://community.cesium.com/t/camera-main-access-at-cesiumforpointcloudrenderer/46110
Category: Cesium for Unity
Reported by: @MYavuzSelim

Description

Issue 3 in the forum post

On WebGL, we get a crash once we enable point clouds:

Invoking error handler due to TypeError: Cannot read properties of undefined (reading ‘explicitUniformLocations’), at WebGL.framework.js.gz

It is mentioned in that blog post that point clouds are not supported for WebGL. However, I think it should not crash even if it does not render anything.

I was hoping that enabling attenuation affects these bugs in a positive way, but I don’t know.

Environment

Cesium for Unity version:
Unity Editor Version:
Operating System:

Reproduction steps

...

Supporting evidence

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageNew issues in need of triage to determine reproducibility, scope, and urgency

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions