Hello mates,
I am trying to add a custom object created with Blender (3.6.x) and exported with Blender’s plugin Microsoft Flight Simulator 2004 Tools.
Here you can see my project’s file structure:
The folder “skihi_main_building” contains:
And “texture” contains:
Those two folders were created by exporting my Blender object using the plugin:
I have added a ModelLib asset to my project, which points to the folder “34WI_ModelLib”, where my exported object and textures are.
But when I try to build the project, I get errors that block the build. I am assuming that the error “Output path does not exist” is thrown because of the validators errors thrown before it.
Does anyone know how to fix those validator errors?
Any tutorial available for such GLTFValidator issues?
Any help is much appreciated!
Here are the logs (I will also attach a file for easier visualization):
error_log.txt (8.3 KB)
GLTFValidator | Found in C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\PackageSources\Scenery\airport-34wi-baraboo\34WI-ModelLib\skihi_main_building\SkiHiMainBuilding.gltf - used extension not supported: KHR_materials_unlit
GLTFValidator | Found in C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\PackageSources\Scenery\airport-34wi-baraboo\34WI-ModelLib\skihi_main_building\SkiHiMainBuilding.gltf - used extension not supported: KHR_materials_unlit
GLTFValidator | Found in C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\PackageSources\Scenery\airport-34wi-baraboo\34WI-ModelLib\skihi_main_building\SkiHiMainBuilding.gltf - 'ASOBO_property_animation': invalid value type for "target" of animation MaterialAction.001
GltfCompiler | Failed to load model data from file
EndExecute | CompileTask has failed
Can not find model file: 'C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\_PackageInt\_tempFiles\toyshopsim-airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.gltf'
ERROR: #C2006 Parse failed (0x80004005)
ERROR: #C2340 Failed to finalize MODEL_DATA!
ERROR: XML Parse Error! Element tree follows:
<FSData version = 9.0>
<GLTFData sourceFile = C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\_PackageInt\_tempFiles\toyshopsim-airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.xml>
ERROR: #C2024 Failed to process closing element tag <GLTFData> near line 2!
ERROR: #C2607 Compilation errors detected, compilation failed!
BGLCompiler | CompileMemory failed !
PackageBuilder | Output path does not exist: C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\Packages\toyshopsim-airport-34wi-baraboo\Scenery\airport-34wi-baraboo\34WI_ModelLib\34WI-ModelLib.BGL
PackageBuilder | Package 'toyshopsim-airport-34wi-baraboo' have encountered errors during _EndTreatCommands. See attached
PackageBuilder | EndExecuteCommandsForPackage : Failed to build package toyshopsim-airport-34wi-baraboo
GLTFValidator | Found in C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\PackageSources\Scenery\airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.gltf - used extension not supported: KHR_materials_unlit
GLTFValidator | Found in C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\PackageSources\Scenery\airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.gltf - used extension not supported: KHR_materials_unlit
GLTFValidator | Found in C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\PackageSources\Scenery\airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.gltf - 'ASOBO_property_animation': invalid value type for "target" of animation MaterialAction.001
GltfCompiler | Failed to load model data from file
EndExecute | CompileTask has failed
Can not find model file: 'C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\_PackageInt\_tempFiles\toyshopsim-airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.gltf'
ERROR: #C2006 Parse failed (0x80004005)
ERROR: #C2340 Failed to finalize MODEL_DATA!
ERROR: XML Parse Error! Element tree follows:
<FSData version = 9.0>
<GLTFData sourceFile = C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\_PackageInt\_tempFiles\toyshopsim-airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.xml>
ERROR: #C2024 Failed to process closing element tag <GLTFData> near line 2!
ERROR: #C2607 Compilation errors detected, compilation failed!
BGLCompiler | CompileMemory failed !
PackageBuilder | Output path does not exist: C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\Packages\toyshopsim-airport-34wi-baraboo\Scenery\airport-34wi-baraboo\34WI_ModelLib\34WI_ModelLib.BGL
PackageBuilder | Package 'toyshopsim-airport-34wi-baraboo' have encountered errors during _EndTreatCommands. See attached
PackageBuilder | EndExecuteCommandsForPackage : Failed to build package toyshopsim-airport-34wi-baraboo
GLTFValidator | Found in C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\PackageSources\Scenery\airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.gltf - used extension not supported: KHR_materials_unlit
GLTFValidator | Found in C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\PackageSources\Scenery\airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.gltf - used extension not supported: KHR_materials_unlit
GLTFValidator | Found in C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\PackageSources\Scenery\airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.gltf - 'ASOBO_property_animation': invalid value type for "target" of animation MaterialAction.001
GltfCompiler | Failed to load model data from file
EndExecute | CompileTask has failed
Can not find model file: 'C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\_PackageInt\_tempFiles\toyshopsim-airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.gltf'
ERROR: #C2006 Parse failed (0x80004005)
ERROR: #C2340 Failed to finalize MODEL_DATA!
ERROR: XML Parse Error! Element tree follows:
<FSData version = 9.0>
<GLTFData sourceFile = C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\_PackageInt\_tempFiles\toyshopsim-airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.xml>
ERROR: #C2024 Failed to process closing element tag <GLTFData> near line 2!
ERROR: #C2607 Compilation errors detected, compilation failed!
BGLCompiler | CompileMemory failed !
PackageBuilder | Output path does not exist: C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\Packages\toyshopsim-airport-34wi-baraboo\Scenery\airport-34wi-baraboo\34WI_ModelLib\34WI_ModelLib.BGL
PackageBuilder | Package 'toyshopsim-airport-34wi-baraboo' have encountered errors during _EndTreatCommands. See attached
PackageBuilder | EndExecuteCommandsForPackage : Failed to build package toyshopsim-airport-34wi-baraboo
GLTFValidator | Found in C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\PackageSources\Scenery\airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.gltf - used extension not supported: KHR_materials_unlit
GLTFValidator | Found in C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\PackageSources\Scenery\airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.gltf - used extension not supported: KHR_materials_unlit
GLTFValidator | Found in C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\PackageSources\Scenery\airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.gltf - 'ASOBO_property_animation': invalid value type for "target" of animation MaterialAction.001
GltfCompiler | Failed to load model data from file
EndExecute | CompileTask has failed
Can not find model file: 'C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\_PackageInt\_tempFiles\toyshopsim-airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.gltf'
ERROR: #C2006 Parse failed (0x80004005)
ERROR: #C2340 Failed to finalize MODEL_DATA!
ERROR: XML Parse Error! Element tree follows:
<FSData version = 9.0>
<GLTFData sourceFile = C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\_PackageInt\_tempFiles\toyshopsim-airport-34wi-baraboo\34WI_ModelLib\skihi_main_building\SkiHiMainBuilding.xml>
ERROR: #C2024 Failed to process closing element tag <GLTFData> near line 2!
ERROR: #C2607 Compilation errors detected, compilation failed!
BGLCompiler | CompileMemory failed !
PackageBuilder | Output path does not exist: C:\Users\saulo\Documents\MSFS Scenery Development\Projects\34WI-thiessen-field\Packages\toyshopsim-airport-34wi-baraboo\Scenery\airport-34wi-baraboo\34WI_ModelLib\34WI_ModelLib.BGL
PackageBuilder | Package 'toyshopsim-airport-34wi-baraboo' have encountered errors during _EndTreatCommands. See attached
PackageBuilder | EndExecuteCommandsForPackage : Failed to build package toyshopsim-airport-34wi-baraboo