Jump to content

[SOLVED] Custom FBX import, different behavior on different machines


photo

Recommended Posts

Posted

Hello. 
We are running custom FBX import, but on some machines it behave strange.

Model have several surfaces with theirs own materials. Machine A runs onImportMaterial function for each material in FBX, Machine B runs it only once for one material

To check this, i created project, and run imports on machine A, then copied this project to machine B and it has id different (bad) behavior (onImportMaterial one time).

 

Posted

Hello,

Could you please share some details with us? A test scene with the source code maybe?

Have you checked the behavior of your imported when required for mesh materials already created?

Thanks.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted (edited)

I can send archive with test project, but i dont know how to represent that behavior as on our machine B.
As i know, function  onImportMaterial in FbxImporter is called from Editor when you work in editor, so thats why i cant find where is the problem

As i said that was same test project with same binaries on different machines...

Edited by qwert_e
Posted

SOLVED.

It was our fault, i haven`t noticed that computer "B" had "Merge Similar Materials" checkbox toggled, and onImportMaterial function called one time. 
Thanks morbid for tip

  • morbid changed the title to [SOLVED] Custom FBX import, different behavior on different machines
×
×
  • Create New...