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

Publishing "Action" product produces empty .blend file #47

Open
2 tasks done
LiborBatek opened this issue Sep 18, 2024 · 0 comments
Open
2 tasks done

Publishing "Action" product produces empty .blend file #47

LiborBatek opened this issue Sep 18, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@LiborBatek
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior:

When trying to publish Action product type it produces empty data (.blend file) and its not possible to load anything.

Also throw an error when trying perform AYON > Load on the Action product

Traceback (most recent call last):

  File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\blender_0.2.3\ayon_blender\api\ops.py", line 128, in execute
    result = callback(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\blender_0.2.3\ayon_blender\api\plugin.py", line 495, in _load
    nodes = self.process_asset(
            ^^^^^^^^^^^^^^^^^^^

  File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\blender_0.2.3\ayon_blender\plugins\load\load_action.py", line 77, in process_asset
    collection.children.link(bpy.data.collections[lib_container])
                             ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^

KeyError: 'bpy_prop_collection[key]: key "sh010_actionMain" not found'

Probably due to been empty and not containing any data??

Expected Behavior:

When producing Action via publishing it should output .blend file containing Action data type inside and user should be able to load such data via AYON Loader later on.

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

  1. Load some rig
  2. Animate it
  3. Create Action publish instance
  4. Publish will produce unusable (empty) .blend file

Are there any labels you wish to add?

  • I have added the relevant labels to the bug report.

Relevant log output:

No response

Additional context:

No response

@LiborBatek LiborBatek added the type: bug Something isn't working label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant