Obj importer broken #44016
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#44016
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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
Win7 x64
Blender Version
Broken: 2.74 RC1
Worked: 2.73
Short description of error
When importing a mesh, that imports properly in 2.73, it doesn't work on 2.74. Memory usage is much higher than on 2.73 and memory is not released. After failed import, the default scene needs 1.8Gb of memory.
Exact steps for others to reproduce the error
I can't attach the obj as it is a commercial one, maybe on a trustable way, I could deliver it for debugging purpose only.
Here is the log from blender:
Changed status to: 'Open'
Added subscriber: @bliblubli
Added subscriber: @Blendify
does this happen with all files?
Added subscriber: @ideasman42
@ideasman42 you did some work on this between 2.74 and 2.73 could this be caused by that?
no but with many of them.
Bastien did the work on the new obj importer I think.
ones with alot of geometry?
Added subscriber: @mont29
sorry miss read the commit re assigning to @mont29
does it crash mostly with files with alot of geometry?
As usual, please attach here (or on googledocs/dropbox/whatever) a file to reproduce the issue.
I really tried to find another file which I'm allowed to upload on a public website, no luck. So we will just keep a copy of 2.73a until someone find a file that can be made public.
You can also send me a private link to my mail (montagne29 at/chez wanadoo.fr)…
Just a sidenote, it maybe nice to provide safe ways of transmitting sensible datas if you really want Blender to be used in studios and want studios to report bugs. Most studios don't own their own work when working for clients.
did you receive an Email?
Yes, got the mail, thanks :)
No problem, was not happy with the lawyer part, but we have to...
Ok, that mesh is actually full of invalid data (edges using the same vertex, and so on). Literally thousands of such!
Will try to make new code more robust to that, but really… which app exports that crap?
Note excess mem after import is precisely due to the 'addon crash', which precisely seems to prevent python from releasing his 'working' mem…
As for mem usage, it’s not that much higher than 2.73 - a bit more in this specific case, due to utterly broken .obj, but typically new code is way faster and lighter than previous version (memory increasing is also partly due to the fact we are now reading normals in obj files, if present).
Thanks Bastien,
One of the most used 3D package, 3DSmax exports that... no comment, but it's not funny for the artists either.
Yeah… reminds me of a well known format starting by F and ending by X… :P
Anyway, fixed in master. :)
Changed status from 'Open' to: 'Resolved'
grrr, typo in commit message, so fixed in
2f35b08beb
.after comparing the 2.73 version and the 2.74, the new version is missing 1 vertex, 2 edges, 1 face and 2 triangles. It's really not a problem on the model I sended you, but could be a big problem on a character for example.
By the way, to test which version was correct, I compared with the original and the obj imported in Accutrans3D. The original has 518579 vertecies (511869 in Blender), 852490 Edges (842297 in Blender), 381638 Faces (376551 in Blender), 750470 Triangles (745382 in Blender). You can compare it with Accutrans which reports the same numbers as in the original.
Yes, but I do not really care here, you cannot expect us to support 100% of such broken mess. We can only try to avoid py crash here, that’s all (Blender 2.73 also removed some geometry, maybe not exactly the same thing, but that's because of changes in tessellation algo).
ok, thank you for your fix.