Lales.Charles Posted February 18, 2021 Share Posted February 18, 2021 Dear support, We isolated a weird bug related to FbxImporter when you place in data folder a custom material, see attached file. Simply put this cable custom material in data folder. Then try to import an fbx with embedded material. There is no error in editor console: material are created, mesh is there.. but the material are not properly allocated to surface. Remove the cable custom material, restart editor and import will succeed. So the question: what is wrong with this custom cable prop? Kind regards, Charles cable.zip Link to comment
vvvaseckiy Posted February 19, 2021 Share Posted February 19, 2021 Hello Charles, Thank you for your detailed report, indeed it's a very weird behavior, we'll fix this in next release Thanks Link to comment
Lales.Charles Posted February 19, 2021 Author Share Posted February 19, 2021 Hi, Ok, but you see where it does come from? Is there smthg wrong with our custom material using shader? And nothing that we can fix already in 2.13? Kind regards, Charles Link to comment
silent Posted February 26, 2021 Share Posted February 26, 2021 Hi Charles, Thanks for the waiting. It was an interesting bug in import procedure related to the not entirely correct custom base material setup. Proper solution to this issue would be to modify your cable_base material. You need to remove attribute default="1" from XML: This would fix your import issue with current SDK version. In 2.14 even in this case it would work as expected, but we do not recommend to use default option in custom user materials (it should be only used for the built-in base materials like mesh_base). In order to simplify the custom shaders creation we are currently preparing shader graph editor and materials templates that you can use and don't think about this strange options that can sudden broke something. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Lales.Charles Posted February 26, 2021 Author Share Posted February 26, 2021 Hi, Thanks for analyze/fix, it does work fine now ;-) Kind regards, Charles Link to comment
Recommended Posts