OBJ: new 3.2 importer in some cases ("o" after vertex data) fails to import faces correctly #99532

Closed
opened 2022-07-07 20:47:11 +02:00 by Aras Pranckevicius · 5 comments

Short description of error

If an .obj file contains vertex data ("v", "vn", etc.) and only after those contains the "o" tag, then that object fails to import correctly.

This bug report was originally reported privately with a giant NDA file; made a tiny repro myself here.

Exact steps for others to reproduce the error

Using the new (3.2+) OBJ importer, import the attached specially crafted .obj file: cube_vertex_groups.obj cube.mtl

The old one imports it correctly (objects: ActualCube, SparseTri):
obj-old.png

But the new one imports only the vertices, and names the objects wrong (cube_o_after_verts, SparseTri): obj-new.png

**Short description of error** If an .obj file contains vertex data ("v", "vn", etc.) and only after those contains the "o" tag, then that object fails to import correctly. This bug report was originally reported privately with a giant NDA file; made a tiny repro myself here. **Exact steps for others to reproduce the error** Using the new (3.2+) OBJ importer, import the attached specially crafted .obj file: [cube_vertex_groups.obj](https://archive.blender.org/developer/F13266010/cube_vertex_groups.obj) [cube.mtl](https://archive.blender.org/developer/F13266011/cube.mtl) The old one imports it correctly (objects: ActualCube, SparseTri): ![obj-old.png](https://archive.blender.org/developer/F13266005/obj-old.png) But the new one imports only the vertices, and names the objects wrong (cube_o_after_verts, SparseTri): ![obj-new.png](https://archive.blender.org/developer/F13266007/obj-new.png)
Author
Member

Added subscriber: @aras_p

Added subscriber: @aras_p
Aras Pranckevicius self-assigned this 2022-07-07 20:48:14 +02:00
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

This issue was referenced by f11dc58667

This issue was referenced by f11dc58667fbcabe6b9f0c7f5df736fc5f8d52f2

This issue was referenced by fad857f473

This issue was referenced by fad857f47319166d3ff97029385b50059731a576
Author
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Bastien Montagne added this to the Pipeline, Assets & IO project 2023-02-09 15:40:02 +01:00
Bastien Montagne removed this from the Pipeline, Assets & IO project 2023-02-10 12:49:18 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#99532
No description provided.