Mesh can be null if none of the primitive could be converted
Just to be clear.
Use nullptr
Fix for meshes without material
Use latest OpenCOLLADA