You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After looking at the source file, it looks like GLTFEditorExporter.ExportPrimitive calls GLTFEditorExporter.getMaterials, which is a method that can return null. Though, the returned value isn't checked and thus using it throws the exception.
The text was updated successfully, but these errors were encountered:
I ran into this issue while exporting some GameObjects:
After looking at the source file, it looks like
GLTFEditorExporter.ExportPrimitive
callsGLTFEditorExporter.getMaterials
, which is a method that can return null. Though, the returned value isn't checked and thus using it throws the exception.The text was updated successfully, but these errors were encountered: