Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to export: use_unique_id #14

Closed
Tisor opened this issue May 24, 2024 · 9 comments
Closed

Error when trying to export: use_unique_id #14

Tisor opened this issue May 24, 2024 · 9 comments

Comments

@Tisor
Copy link

Tisor commented May 24, 2024

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
Copy link
Owner

ronh991 commented May 25, 2024

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

@ronh991
Copy link
Owner

ronh991 commented May 27, 2024

ok working on a fix

@ronh991
Copy link
Owner

ronh991 commented May 28, 2024

blender/Khronos issue
KhronosGroup/glTF-Blender-IO#2253

@ronh991
Copy link
Owner

ronh991 commented Jun 5, 2024

should be fixed

@ronh991 ronh991 closed this as completed Jun 5, 2024
@4lexcha
Copy link

4lexcha commented Aug 18, 2024

Same error when exporting. I'm using Blender 3.6.11 (portable) with 1.6.8 addon. Clean start, simple model (plain surface with one material, no textures).
image

@ronh991
Copy link
Owner

ronh991 commented Aug 19, 2024

thanks for the report - please try this

@ronh991
Copy link
Owner

ronh991 commented Aug 19, 2024

no that did not work, sorry

@ronh991
Copy link
Owner

ronh991 commented Aug 19, 2024

please try this
io_scene_gltf2_msfs_for36.zip

ronh991 pushed a commit that referenced this issue Aug 19, 2024
Fix ittem #14 - reintroduced unique_id error
@4lexcha
Copy link

4lexcha commented Aug 20, 2024

please try this io_scene_gltf2_msfs_for36.zip

thanks. it's working without errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants