• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Invalid Triangle mode

Messages
5
Country
us-newyork
Hello
I'm new to all of this....
I've had this happen twice now, and not sure whey when I try to build my package with the MSFS SDK with my Blender 3D object I get an error in the SDK bulder:

Compiling GLTF data file Rainbowhelip.gltf...
mesh[0] primitive[11] has an invalid triangle mode, only triangle lists are supported
primitive[11] of mesh[0] ('Cube.036') has no faces
mesh[0] ('Cube.036') has a lot of collidable faces ('4946'), is this intended?
GltfCompiler | Failed to load model data from file
Copying files from source folder E:\Documents\MyFSProjects\RainbowAir\PackageSources\RainbowAir-modelLib\...
Compiling BGL file from in-memory data to output file RainbowAir-modelLib.BGL...
Can not find model file: 'E:\Documents\MyFSProjects\RainbowAir\_PackageInt\_tempFiles\peteports-rainbow-air-helipad\mymodellib\Rainbowhelip\Rainbowhelip.gltf'
INTERNAL COMPILER ERROR: #C2006: Parse failed (0x80004005)
INTERNAL COMPILER ERROR: #C2340: Failed to finalize MODEL_DATA!
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:
ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <GLTFData
ERROR: sourceFile = E:\Documents\MyFSProjects\RainbowAir\_PackageInt\_tempFiles\peteports-rainbow-air-helipad\mymodellib\Rainbowhelip\Rainbowhelip.xml
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2024: Failed to process closing element tag <GLTFData> near line 2!
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!
INTERNAL COMPILER ERROR: #C2006: Parse failed (0x 0)

Can anyone translate what is going on, do I need to clean something up in the blender model, it's not to crazy of shapes or anything

I have had luck with others working, so my export from blender is ok I think.

Thank you all you awesome people helping a newbee like me
 
Messages
676
Country
italy
Can anyone translate what is going on, do I need to clean something up in the blender model, it's not to crazy of shapes or anything
Yep, your blender 3d object has problems.

You need to go in edito mode, mesh/clean up/delete loose and decimate dissolve

This will likely solve your issue
 
Messages
9
Country
unitedstates
Yep, your blender 3d object has problems.

You need to go in edito mode, mesh/clean up/delete loose and decimate dissolve

This will likely solve your issue
Thank you for this, but i am having this same error. I did try doing a mesh clean up as recommended above but i am still getting the error message as below : Also im getting one error that says :
'primitive 2 of Mesh 0 has no faces. Any idea how to fix this ? I have attached the blend file also.

thank you for any help ,
Adnan
 

Attachments

  • KPWK-Ct-Small-Bdg.jpg
    KPWK-Ct-Small-Bdg.jpg
    619.3 KB · Views: 45
  • KPWK-CT-Small-BdgB.zip
    185.7 KB · Views: 28
Last edited:
Messages
102
Country
france
I got the same problem, clean up, sadly, not worked for me either
you can use MCX (ModelConverterX), you open the gltf generated by plugin Blender, and you export again, and that fix usually this kind of problems
i suppose Arno MCX, do something inside to fix it at export.
 
Top