We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

RuntimeError: assertion failed

Home Forums Graphics / 3ds Max RuntimeError: assertion failed

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4023
    lightcube
    Customer

    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 

    _________________
    Shawn Olson
    Developer of Wall Worm

    #4029

    Hi,

    Thanks for the heads up. Fixed that! :good:

    Chief 3D Verger | LinkedIn | Twitter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.