Failure to import .obj files without material data #58094

Closed
opened 2018-11-27 17:13:33 +01:00 by Benjamin Humpherys · 8 comments

System Information
macOS 10.14

Blender Version
Broken: 2.80 b205cb369a8 built 2018-11-27, download from website
Worked: 2.79b f4dc9f9

Attempting to import .obj files results in the following error:
Screen Shot 2018-11-27 at 9.04.47 AM.png

I verified that this fails not just on my own .obj files but on the teapot from this link as well.

**System Information** macOS 10.14 **Blender Version** Broken: 2.80 b205cb369a8 built 2018-11-27, download from website Worked: 2.79b f4dc9f9 Attempting to import .obj files results in the following error: ![Screen Shot 2018-11-27 at 9.04.47 AM.png](https://archive.blender.org/developer/F5735963/Screen_Shot_2018-11-27_at_9.04.47_AM.png) I verified that this fails not just on my own .obj files but on the teapot from [this link ](https://groups.csail.mit.edu/graphics/classes/6.837/F03/models/teapot.obj) as well.

Added subscriber: @brhumphe

Added subscriber: @brhumphe

Added subscriber: @Joe_W

Added subscriber: @Joe_W

I can confirm this on the Windows build as well (failure to import OBJ files) - Windows 7 X64

I can confirm this on the Windows build as well (failure to import OBJ files) - Windows 7 X64

Added subscriber: @StephenSwaney

Added subscriber: @StephenSwaney

Confirmed with linux
build date: 2018-11-27
build time: 09:55:04
build commit date: 2018-11-27
build commit time: 07:43
build hash: 1944bca49a2

Confirmed with linux build date: 2018-11-27 build time: 09:55:04 build commit date: 2018-11-27 build commit time: 07:43 build hash: 1944bca49a2

This appears to happen for .obj files which contain no material data. Starting with the sample capsule from this web pade , I noticed that it would import even if I removed the .mtl and jpeg files. Only after removing the lines with usemtl and mtllib could I replicate the issue.

This appears to happen for .obj files which contain no material data. Starting with the sample capsule from [this web pade ](http://paulbourke.net/dataformats/obj/minobj.html), I noticed that it would import even if I removed the .mtl and jpeg files. Only after removing the lines with `usemtl` and `mtllib` could I replicate the issue.
Benjamin Humpherys changed title from Failure to import .obj files to Failure to import .obj files without material data 2018-11-28 03:00:25 +01:00
Bastien Montagne self-assigned this 2018-11-28 09:47:54 +01:00

This issue was referenced by d206e7f2ff

This issue was referenced by d206e7f2ff17a137f84be966d6db4e7e5599fba9

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 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-addons#58094
No description provided.