EpicGamesExt / BlenderTools

Blender addons that improve the game development workflow between Blender and Unreal.
https://epicgamesext.github.io/BlenderTools/
MIT License
2.81k stars 61 forks source link

Rokoko to Unreal Engine - Failed to convert type 'SkeletalMesh' to property 'Skeleton' #638

Closed leica-zeiss closed 1 year ago

leica-zeiss commented 1 year ago

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\send2ue\operators.py", line 71, in modal raise error File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\send2ue\operators.py", line 61, in modal function(*args, **kwargs) File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\send2ue\core\ingest.py", line 26, in import_asset UnrealRemoteCalls.import_asset(file_path, asset_data, property_data) File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\send2ue\dependencies\rpc\factory.py", line 248, in wrapper return rpc_factory.run_function_remotely(function, args) File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\send2ue\dependencies\rpc\factory.py", line 225, in run_function_remotely raise Fault(exception.faultCode, exception.faultString) xmlrpc.client.Fault: <Fault 1: "<class 'TypeError'>:FbxImportUI: Failed to convert type 'SkeletalMesh' to property 'Skeleton' (ObjectProperty) for attribute 'skeleton' on 'FbxImportUI'\n TypeError: NativizeProperty: Cannot nativize 'SkeletalMesh' as 'Skeleton' (ObjectProperty)\n TypeError: NativizeObject: Cannot nativize 'SkeletalMesh' as 'Object' (allowed Class type: 'Skeleton')">

james-baber commented 1 year ago

So we need to add a type validation to the "Skeleton Asset (Unreal)" path, so this is more clear, but its saying you provided a path to a SkeletalMesh asset. You need to provide a path to the Skeleton asset