Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zero-length array placed in vertex shader uniforms #6061

Closed
emackey opened this issue Dec 15, 2017 · 4 comments
Closed

Zero-length array placed in vertex shader uniforms #6061

emackey opened this issue Dec 15, 2017 · 4 comments

Comments

@emackey
Copy link
Contributor

emackey commented Dec 15, 2017

Reported in AnalyticalGraphicsInc/gltf-vscode#74, confirmed in Cesium 1.40.

The model Alien.glb causes Cesium to produce a vertex shader with these uniforms:

uniform mat4 u_modelViewMatrix;
uniform mat4 u_projectionMatrix;
uniform mat3 u_normalMatrix;
uniform mat4 u_jointMatrix[0];

The last line causes an error:

RuntimeError: Vertex shader failed to compile. Compile log: ERROR: 0:5: '' : array size must be greater than zero

@pjcozzi
Copy link
Contributor

pjcozzi commented Dec 22, 2017

Not sure if they are related, but there are a lot of validation errors:

{
    "uri": "Alien.glb",
    "mimeType": "model/gltf-binary",
    "validatorVersion": "2.0.0-dev.1.6",
    "validatedAt": "2017-12-22T00:43:56.029Z",
    "issues": {
        "numErrors": 132,
        "numWarnings": 0,
        "numInfos": 4,
        "numHints": 0,
        "messages": [
            {
                "code": "NODE_EMPTY",
                "message": "Empty node encountered.",
                "severity": 2,
                "pointer": "/nodes/9"
            },
            {
                "code": "NODE_EMPTY",
                "message": "Empty node encountered.",
                "severity": 2,
                "pointer": "/nodes/10"
            },
            {
                "code": "NODE_EMPTY",
                "message": "Empty node encountered.",
                "severity": 2,
                "pointer": "/nodes/11"
            },
            {
                "code": "NODE_EMPTY",
                "message": "Empty node encountered.",
                "severity": 2,
                "pointer": "/nodes/12"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 3 is not of unit length: 0.12157953455436363.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 11 is not of unit length: 0.12157953455436363.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 15 is not of unit length: 0.0734467533518657.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 23 is not of unit length: 0.0734467533518657.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 27 is not of unit length: 0.007802545171266541.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 35 is not of unit length: 0.007802545171266541.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 39 is not of unit length: 0.08651176974138655.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 47 is not of unit length: 0.08651176974138655.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 51 is not of unit length: 0.41323262997032334.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 59 is not of unit length: 0.41323262997032334.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 63 is not of unit length: 0.029170863256254256.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 71 is not of unit length: 0.029170863256254256.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 75 is not of unit length: 0.013614616821767489.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 83 is not of unit length: 0.013614616821767489.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 87 is not of unit length: 0.012849754021710064.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 95 is not of unit length: 0.012849754021710064.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 99 is not of unit length: 0.6083519921347351.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 107 is not of unit length: 0.6083519921347351.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 111 is not of unit length: 0.38498777996463746.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 119 is not of unit length: 0.38498777996463746.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 123 is not of unit length: 0.023783492309709896.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 131 is not of unit length: 0.023783492309709896.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 135 is not of unit length: 0.19616652278573318.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 143 is not of unit length: 0.19616652278573318.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 147 is not of unit length: 0.17094823134817244.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 155 is not of unit length: 0.17094823134817244.",
                "severity": 0,
                "pointer": "/accessors/70"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 3 is not of unit length: 0.19608412124291835.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 11 is not of unit length: 0.19608412124291835.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 15 is not of unit length: 0.1336486014894331.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 23 is not of unit length: 0.1336486014894331.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 27 is not of unit length: 0.10450176117483218.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 35 is not of unit length: 0.10450176117483218.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 39 is not of unit length: 0.3033775170170617.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 47 is not of unit length: 0.3033775170170617.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 51 is not of unit length: 0.02794865143814013.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 59 is not of unit length: 0.02794865143814013.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 63 is not of unit length: 0.35634647290265875.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 71 is not of unit length: 0.35634647290265875.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 75 is not of unit length: 0.5258563222014883.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 83 is not of unit length: 0.5258563222014883.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 87 is not of unit length: 0.09307294385203277.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 95 is not of unit length: 0.09307294385203277.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 99 is not of unit length: 0.05239990046599254.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 107 is not of unit length: 0.05239990046599254.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 111 is not of unit length: 0.0255857965531126.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 119 is not of unit length: 0.0255857965531126.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 123 is not of unit length: 0.5595600202206241.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 131 is not of unit length: 0.5595600202206241.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 135 is not of unit length: 0.45069165271791595.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 143 is not of unit length: 0.45069165271791595.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 147 is not of unit length: 0.07019500911892863.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 155 is not of unit length: 0.07019500911892863.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 159 is not of unit length: 0.14593462895354065.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 167 is not of unit length: 0.14593462895354065.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 171 is not of unit length: 0.3546512042692883.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 179 is not of unit length: 0.3546512042692883.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 183 is not of unit length: 0.18187601899221517.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 191 is not of unit length: 0.18187601899221517.",
                "severity": 0,
                "pointer": "/accessors/72"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 3 is not of unit length: 0.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 11 is not of unit length: 0.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 15 is not of unit length: 0.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 23 is not of unit length: 0.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 27 is not of unit length: 0.10344666768947808.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 35 is not of unit length: 0.10344666768947808.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 39 is not of unit length: 0.17181199762061766.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 47 is not of unit length: 0.17181199762061766.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 51 is not of unit length: 0.06354489360599652.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 59 is not of unit length: 0.06354489360599652.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 63 is not of unit length: 0.04330597115927151.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 71 is not of unit length: 0.04330597115927151.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 75 is not of unit length: 0.18680826410191798.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 83 is not of unit length: 0.18680826410191798.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 87 is not of unit length: 0.08068807760370124.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 95 is not of unit length: 0.08068807760370124.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 99 is not of unit length: 0.11798126493761636.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 107 is not of unit length: 0.11798126493761636.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 111 is not of unit length: 0.015472331372565864.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 119 is not of unit length: 0.015472331372565864.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 123 is not of unit length: 0.17050710802636634.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 131 is not of unit length: 0.17050710802636634.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 135 is not of unit length: 1.8009604173771823.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 143 is not of unit length: 1.8009604173771823.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 147 is not of unit length: 0.24541214586296803.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 155 is not of unit length: 0.24541214586296803.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 159 is not of unit length: 0.1650036714083617.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 167 is not of unit length: 0.1650036714083617.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 171 is not of unit length: 0.038482128729060566.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 179 is not of unit length: 0.038482128729060566.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 183 is not of unit length: 0.012792418483259085.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 191 is not of unit length: 0.012792418483259085.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 195 is not of unit length: 0.000783394386580019.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 203 is not of unit length: 0.000783394386580019.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 207 is not of unit length: 0.00013012311723186088.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 215 is not of unit length: 0.00013012311723186088.",
                "severity": 0,
                "pointer": "/accessors/74"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 3 is not of unit length: 0.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 11 is not of unit length: 0.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 15 is not of unit length: 0.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 23 is not of unit length: 0.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 27 is not of unit length: 0.11538968478727306.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 35 is not of unit length: 0.11538968478727306.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 39 is not of unit length: 0.1803335716237847.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 47 is not of unit length: 0.1803335716237847.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 51 is not of unit length: 0.06103974615668622.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 59 is not of unit length: 0.06103974615668622.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 63 is not of unit length: 0.1796441840659234.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 71 is not of unit length: 0.1796441840659234.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 75 is not of unit length: 0.23652880596778067.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 83 is not of unit length: 0.23652880596778067.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 87 is not of unit length: 0.3797829268055524.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 95 is not of unit length: 0.3797829268055524.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 99 is not of unit length: 0.005179190808453977.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 107 is not of unit length: 0.005179190808453977.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 111 is not of unit length: 0.3735407714139234.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 119 is not of unit length: 0.3735407714139234.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 123 is not of unit length: 0.013256828978488525.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 131 is not of unit length: 0.013256828978488525.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 135 is not of unit length: 0.17834500408405368.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 143 is not of unit length: 0.17834500408405368.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 147 is not of unit length: 2.107924226182222.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 155 is not of unit length: 2.107924226182222.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 159 is not of unit length: 0.3459894411442632.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 167 is not of unit length: 0.3459894411442632.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 171 is not of unit length: 0.18254112653801202.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 179 is not of unit length: 0.18254112653801202.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 183 is not of unit length: 0.044163848213966454.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 191 is not of unit length: 0.044163848213966454.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 195 is not of unit length: 0.014350995590338778.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 203 is not of unit length: 0.014350995590338778.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 207 is not of unit length: 0.0010298848990541248.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 215 is not of unit length: 0.0010298848990541248.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 219 is not of unit length: 0.00010917010449882886.",
                "severity": 0,
                "pointer": "/accessors/76"
            },
            {
                "code": "ACCESSOR_NON_UNIT",
                "message": "Accessor element at index 227 is not of unit length: 0.00010917010449882886.",
                "severity": 0,
                "pointer": "/accessors/76"
            }
        ],
        "truncated": false
    },
    "info": {
        "version": "2.0",
        "generator": "glTF Tools for Unity",
        "resources": [
            {
                "pointer": "/buffers/0",
                "mimeType": "application/gltf-buffer",
                "storage": "glb",
                "byteLength": 15950888
            },
            {
                "pointer": "/images/0",
                "mimeType": "image/png",
                "storage": "bufferView",
                "image": {
                    "width": 2048,
                    "height": 2048,
                    "format": "RGB",
                    "bits": 8
                }
            },
            {
                "pointer": "/images/1",
                "mimeType": "image/png",
                "storage": "bufferView",
                "image": {
                    "width": 2048,
                    "height": 2048,
                    "format": "RGB",
                    "bits": 8
                }
            },
            {
                "pointer": "/images/2",
                "mimeType": "image/png",
                "storage": "bufferView",
                "image": {
                    "width": 2048,
                    "height": 2048,
                    "format": "RGB",
                    "bits": 8
                }
            }
        ],
        "hasAnimations": true,
        "hasMaterials": true,
        "hasMorphTargets": true,
        "hasSkins": false,
        "hasTextures": true,
        "hasDefaultScene": true,
        "primitivesCount": 8,
        "maxAttributesUsed": 7
    }
}

@tkazik
Copy link

tkazik commented Mar 2, 2018

The validation errors should be gone now, at least with the online version of the validator:

KhronosGroup/glTF-Validator#70

@emackey
Copy link
Contributor Author

emackey commented Mar 9, 2018

So the old validation messages went away, but a new warning has shown up for each of the nodes:

Node uses skinned mesh, but has no skin defined.

@emackey
Copy link
Contributor Author

emackey commented Apr 4, 2018

I added a fix for this (to ignore skinning when no skin defined) to #6421. I tested it with the Alien.glb and the face animations do work (and do look as super-creepy as they do in other engines). This should go into the May release of Cesium.

@emackey emackey closed this as completed Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants