ronh991 / glTF-Blender-IO-MSFS

My unofficial updates to ASOBO exporter for Blender 3.3, 3.6 and 4.2 alpha
Apache License 2.0
7 stars 0 forks source link

Error when trying to export: use_unique_id #14

Closed Tisor closed 1 month ago

Tisor commented 1 month ago

Current Behavior

When trying to export any project from Blender 4.2, I get the following error:

Blender 4.2 LTS Alpha - Pre Release Development

Error: Python: Traceback (most recent call last): File "C:\Users\Dani\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\io_scene_gltf2_msfs\io\msfs_multi_export.py", line 299, in execute MSFS_OT_MultiExportGLTF2.export(exportPath) File "C:\Users\Dani\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\io_scene_gltf2_msfs\io\msfs_multi_export.py", line 202, in export bpy.context.scene.msfs_exporter_settings.use_unique_id = settings.use_unique_id ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'addSettingsPanel' object has no attribute 'use_unique_id'

Already tried install

Expected Behavior

Export an object with no errors.

Steps To Reproduce

  1. Open any project in Blender 4.2
  2. Set up the exporter
  3. Export
  4. No export: error will show

Environment

- OS: Windows 11
- Blender: 4.2.0 Alpha
- glTF-Blender-IO-MSFS: Blender 4.2 LTS Alpha - Pre Release Development

Anything else?

No response

ronh991 commented 1 month ago

The latest 4.2 alpha has completely messed up the exporter. try going back to April 24th version.

ronh991 commented 1 month ago

ok working on a fix

ronh991 commented 1 month ago

blender/Khronos issue https://github.com/KhronosGroup/glTF-Blender-IO/issues/2253

ronh991 commented 1 month ago

should be fixed