Skip to content

Some settings on ellipsoids cause DeveloperError: All attribute lists must have the same number of attributes. #12960

@sroche31

Description

@sroche31

What happened?

I found this error with an ellipsoid that stops the render of the viewer.

Sandcastle example

I managed to reproduce it with different parameters on sandcastle here.
And here is an other example.

Call stack :

DeveloperError: All attribute lists must have the same number of attributes.  
Error  
    at new DeveloperError (https://sandcastle.cesium.com/Build/CesiumUnminified/Workers/chunk-JJZWDROM.js:36:11)
    at Geometry.computeNumberOfVertices (https://sandcastle.cesium.com/Build/CesiumUnminified/Workers/chunk-ARYRHDEB.js:147:15)
    at updateGeometryAfterSplit (https://sandcastle.cesium.com/Build/CesiumUnminified/Workers/chunk-TUZQG4RW.js:1700:45)
    at updateInstanceAfterSplit (https://sandcastle.cesium.com/Build/CesiumUnminified/Workers/chunk-TUZQG4RW.js:1734:18)
    at splitLongitudeTriangles (https://sandcastle.cesium.com/Build/CesiumUnminified/Workers/chunk-TUZQG4RW.js:2163:3)
    at GeometryPipeline.splitLongitude (https://sandcastle.cesium.com/Build/CesiumUnminified/Workers/chunk-TUZQG4RW.js:2704:7)
    at geometryPipeline (https://sandcastle.cesium.com/Build/CesiumUnminified/Workers/chunk-N6DVKXZD.js:219:34)
    at PrimitivePipeline.combineGeometry (https://sandcastle.cesium.com/Build/CesiumUnminified/Workers/chunk-N6DVKXZD.js:373:18)
    at combineGeometry (https://sandcastle.cesium.com/Build/CesiumUnminified/Workers/combineGeometry.js:54:45)
    at onMessageHandler (https://sandcastle.cesium.com/Build/CesiumUnminified/Workers/chunk-LNTUIO55.js:60:28)

Browser: Chrome Version 141.0.7390.55
CesiumJS Version: 1.134.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions