When exporting materials, each material is printed to a StreamWriter. Once all materials are written the stream is closed. However if the writer has written less than 1024 characters (modulo 1024), the buffer doesn't get flushed and the material file is truncated.
A simple fix is to add w.Flush() on line 303 of OBJWriter.cs
When exporting materials, each material is printed to a StreamWriter. Once all materials are written the stream is closed. However if the writer has written less than 1024 characters (modulo 1024), the buffer doesn't get flushed and the material file is truncated. A simple fix is to add w.Flush() on line 303 of OBJWriter.cs