Jump to content

glTF Validation Error


freetoplay
 Share

Recommended Posts

I am getting glTF validation error when I export with unlit materials. Here is what the error looks like when I load it into the BabylonJS sandbox:

{
"uri": "Character.glb",
"mimeType": "model/gltf+json",
"validatorVersion": "2.0.0-dev.2.5",
"validatedAt": "2018-10-09T01:41:05.107Z",
"issues": {
"numErrors": 8,
"numWarnings": 1,
"numInfos": 1,
"numHints": 0,
"messages": [
{
"code": "UNSUPPORTED_EXTENSION",
"message": "Unsupported extension encountered: 'KHR_lights'.",
"severity": 1,
"pointer": "/extensionsUsed/0"
},
{
"code": "UNDECLARED_EXTENSION",
"message": "Extension was not declared in extensionsUsed.",
"severity": 0,
"pointer": "/materials/0/extensions/KHR_materials_unlit"
},
{
"code": "UNDECLARED_EXTENSION",
"message": "Extension was not declared in extensionsUsed.",
"severity": 0,
"pointer": "/materials/1/extensions/KHR_materials_unlit"
},
{
"code": "UNDECLARED_EXTENSION",
"message": "Extension was not declared in extensionsUsed.",
"severity": 0,
"pointer": "/materials/2/extensions/KHR_materials_unlit"
},
{
"code": "UNDECLARED_EXTENSION",
"message": "Extension was not declared in extensionsUsed.",
"severity": 0,
"pointer": "/materials/3/extensions/KHR_materials_unlit"
},
{
"code": "UNDECLARED_EXTENSION",
"message": "Extension was not declared in extensionsUsed.",
"severity": 0,
"pointer": "/materials/4/extensions/KHR_materials_unlit"
},
{
"code": "UNDECLARED_EXTENSION",
"message": "Extension was not declared in extensionsUsed.",
"severity": 0,
"pointer": "/materials/5/extensions/KHR_materials_unlit"
},
{
"code": "UNDECLARED_EXTENSION",
"message": "Extension was not declared in extensionsUsed.",
"severity": 0,
"pointer": "/materials/6/extensions/KHR_materials_unlit"
},
{
"code": "UNDECLARED_EXTENSION",
"message": "Extension was not declared in extensionsUsed.",
"severity": 0,
"pointer": "/materials/7/extensions/KHR_materials_unlit"
},
{
"code": "NODE_EMPTY",
"message": "Empty node encountered.",
"severity": 2,
"pointer": "/nodes/9"
}
],
"truncated": false
},
"info": {
"version": "2.0",
"generator": "babylon.js glTF exporter for 3ds max 2017 v1.2.40",
"extensionsUsed": [
"KHR_lights"
],
"resources": [
{
"pointer": "/buffers/0",
"mimeType": "application/gltf-buffer",
"storage": null
},
{
"pointer": "/images/0",
"mimeType": null,
"storage": "bufferView"
},
{
"pointer": "/images/1",
"mimeType": null,
"storage": "bufferView"
},
{
"pointer": "/images/2",
"mimeType": null,
"storage": "bufferView"
},
{
"pointer": "/images/3",
"mimeType": null,
"storage": "bufferView"
}
],
"hasAnimations": false,
"hasMaterials": true,
"hasMorphTargets": false,
"hasSkins": false,
"hasTextures": true,
"hasDefaultScene": true,
"primitivesCount": 9,
"maxAttributesUsed": 3
}

Does anyone know what's going on?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...