Exporting a valid GLTF (was valid before import) causes GLTF validation errors #79104
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#79104
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-4.15.0-96-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: Mesa DRI Intel(R) UHD Graphics 620 (KBL GT2) Intel Open Source Technology Center 4.6 (Core Profile) Mesa 20.0.8
Blender Version
Broken: version: 2.83.2, branch: master, commit date: 2020-07-09 05:50, hash: 239fbf7d936f, type: Release
Also Broken: version: 2.83.0
Short description of error
I've imported a GLTF that passed the GLTF validator without any problems. Once I export, without doing any modifications, I receive GLTF validation errors:
"code": "ACCESSOR_VECTOR3_NON_UNIT",
"message": "Vector3 at accessor indices 116049..116051 is not of unit length: 0.",
"severity": 0,
"pointer": "/meshes/1/primitives/0/attributes/NORMAL"
Exact steps for others to reproduce the error
Attached the GLTF:
315012_GLTF.zip
Added subscriber: @jclarkk
Added subscriber: @mano-wii
Does this have anything to do with the problem reported in https://github.com/KhronosGroup/glTF-Blender-IO/issues/372 ?
Added subscriber: @JulienDuroure
Note: Ticket created upstream to follow the subject: https://github.com/KhronosGroup/glTF-Blender-IO/issues/1138
Confirmed the bug, and confirmed that this is linked to https://github.com/KhronosGroup/glTF-Blender-IO/issues/372
Importing using the new option merging vertices solved the issue also
Changed status from 'Needs Triage' to: 'Confirmed'
This issue was referenced by
051770b36d
Changed status from 'Confirmed' to: 'Resolved'
I've been able to reproduce this issue in Blender 2.9.0 using the attached asset. I've tried using the 'Merge vertices' option as well and it didn't help.
@JulienDuroure
@mano-wii
28798_GLTF.zip
@jclarkk This fix is not on 2.90, please test with 2.91 beta
@JulienDuroure
I'm able to reproduce this issue with Blender 3.2.0 and while using the "Merge vertices" option in the GLTF importer.
Attached a zip file with the asset that is able to reproduce.
Simply import while selecting "Merge vertices" (Also happens without) and then export it again and you will receive GLTF validation errors.
I should also mention that I've been able to reproduce it in Blender 3.4.1 as well.
Confirmed