Page MenuHome

FBX importer does not check material indices of polygons are valid.
Closed, ResolvedPublic

Description

System Information
Mac OSX 10.9.4
MacBook Pro late 2013
Nvidia GeForce GT 750M

and tested also

Linux Ubuntu 12.04
Nvidia GTX 560Ti

Blender Version
2.71 (2.70 is not making crash)

Short description of error
This scene is part of project, where meshes were imported from 3D Max using fbx-format. Some meshes are causing Blender crash if VBO is checked in user preferences. In attach file there is only one mesh left with something odd.

Exact steps for others to reproduce the error
Open file with official BLender 2.71, go to user preferences, check in system tab VBOs -> crash.

Event Timeline

Can confirm the issue. Will look later today or tomorrow. Looking into some Cycles bugs ATM..

@Antonis Ryakiotakis (psy-fi) might be faster on investigation :)

Sergey Sharybin (sergey) lowered the priority of this task from 90 to Normal.Jul 10 2014, 11:16 AM

Issue is that faces hold invalid mat_nr assignment. I suspect it's trash values after material deletion.

To workaround this for now, open blender with VBO turned off, assign the object material to all faces in edit mode and reenable VBO.

But to really solve this, it would help if we knew how to reach to this file. I will try some tests here first.

Material is created by fbx importer in Blender. Object is originally exported on 3D max 2013.
Actually workflow is longer. First I got models on fbx format, but Blender gave error: fbx version is 7000, must be 7100 or later. So I opened files on 3D Max 2003, exported them again on fbx-format. Now Blender accepted them. But materials are cranky

Yes I noticed now, I have adjusted proper materials, VBO is working again.

Can you share the original fbx model? It might be an issue in the importer which we might fix :)

I tried to upload, but there seems to be some limit in size of file. It is about 10Mb

You can upload it to ftp://download.blender.org/incoming or pastall.org.

Assigning to Bastien, he will know what goes on here.

Bastien Montagne (mont29) renamed this task from Selecting VBO in user preferenses causing crash in certain scenes to FBX importer does not check material indices of polygons are valid..Jul 12 2014, 6:38 PM
Bastien Montagne (mont29) changed the task status from Unknown Status to Resolved.Jul 12 2014, 6:49 PM

Closed by commit rBA15054752be43.