I was testing different scenarios/scenes and discovered this Python error if you export an object with a material that has a VertexColor map used in the material but the object has no vertex color information.
-- Error occurred in anonymous codeblock; filename: C:\Users\smols\verge3d\max_plugin\verge3d.ms; position: 8180; line: 245
-- MAXScript MacroScript Error Exception:
-- Runtime error:
Traceback (most recent call last):
File "C:\Users\smols\verge3d\max_plugin\__init__.py", line 181, in <sneakPeek>
File "C:\Users\smols\verge3d\max_plugin\__init__.py", line 124, in <exportGLTFPath>
File "C:\Users\smols\verge3d\max_plugin\generate.py", line 1202, in <generate>
File "C:\Users\smols\verge3d\max_plugin\generate.py", line 484, in <generateMeshes>
File "C:\Users\smols\verge3d\max_plugin\extract.py", line 223, in <extractPrimitives>
File "C:\Program Files\Autodesk\3ds Max 2018\MaxPlus.py", line 14511, in <GetTextureFace>
RuntimeError: assertion failed
-- MAXScript callstack:
-- thread data: threadID:10268
-- ------------------------------------------------------
-- [stack level: 0]
-- In sneakPeek(); filename: C:\Users\smols\verge3d\max_plugin\verge3d.ms; position: 8181; line: 245
-- member of: StructDef:Verge3DStruct
-- Locals:
-- Externals:
-- owner: (Verge3DStruct currentState:true settingsFile:"$userscripts/Verge3D/settings.ini" debug:false hasInitiated:true MATERIAL_CA_TYPES:#(Standardmaterial, PhysicalMaterial))
-- importPython: Struct member:importPython : importPython()
-- ------------------------------------------------------
-- [stack level: 1]
-- called from codeblock macroScript: Verge3D_sneakPeek; filename: C:\Users\smols\verge3d\max_plugin\verge3d.ms; position: 509; line: 27
-- Locals:
-- Externals:
-- ------------------------------------------------------
-- [stack level: 2]
-- called from top-level