-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add staticMesh
product type to loader plugin
#10
Add staticMesh
product type to loader plugin
#10
Conversation
079e7b0
to
78341ff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have created Layout
within maya
consisting of skeletalMesh
and staticMesh
besides ordinary model
assets and tried to load it into UE
. Im getting this error msg
Error message: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\core_0.4.3\ayon_core\tools\loader\models\actions.py", line 740, in _load_representations_by_loader
load_with_repre_context(
File "C:\Users\lbate\AppData\Local\Ynput\AYON\addons\core_0.4.3\ayon_core\pipeline\load\utils.py", line 325, in load_with_repre_context
return loader.load(repre_context, name, namespace, options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Work\REPO\ayon-unreal\client\ayon_unreal\plugins\load\load_layout.py", line 593, in load
sequence, frame_range = generate_sequence(h, h_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Work\REPO\ayon-unreal\client\ayon_unreal\api\pipeline.py", line 633, in generate_sequence
fps = folder_entity["attrib"].get("fps") or 30.0
~~~~~~~~~~~~~^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
@LiborBatek can you test it again? The bug you mentioned should be fixed after updating the branch with the latest develop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it correctly loads Layout
product containing skeletalMesh
and staticMesh
coming from maya
and no any errors given.
Note: the transforms in the UE when loaded doesnt match maya one, even tho this PR is already merged which should solve it so I guess we are missing something here still
Implemented the fix here: ynput/ayon-maya#64 |
will try again after commits got merged into develop from other PRs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enhancement
Layout in Unreal supported just
rig
andmodel
product types. This is adding alsostaticMesh
andskeletonMesh
.Testing
skeletalMesh
andstaticMesh
productsTODO:
staticMesh
skeletalMesh