Closed Macarmoni closed 2 years ago
@Macarmoni looks like the EditorStaticMeshLibrary
is not found. Since your using unreal 4.27, make sure you enable the Editor Scripting Utilities plugin. In UE5 they dont have that plugin anymore and the editor libraries already exist by default.
I think enabling that should fix it. At least that is my guess by looking at your output
Thank you so much! Enabling the EditorScriptingUtilities plugin fixed the error. The mesh now gets imported correctly with assigned LODs. Thanks a lot again for the help :D
Addon: Send to Unreal Steps to Reproduce the Problem: LOD creation
Export
Error Log: Python: Traceback (most recent call last): File "C:\Users\Menno\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\send2ue\dependencies\rpc\factory.py", line 151, in run_function_remotely return remote_function(*args) File "E:\Programs\Steam\steamapps\common\Blender\3.1\python\lib\xmlrpc\client.py", line 1122, in call return self.send(self.name, args) File "E:\Programs\Steam\steamapps\common\Blender\3.1\python\lib\xmlrpc\client.py", line 1464, in request response = self.transport.request( File "E:\Programs\Steam\steamapps\common\Blender\3.1\python\lib\xmlrpc\client.py", line 1166, in request return self.single_request(host, handler, request_body, verbose) File "E:\Programs\Steam\steamapps\common\Blender\3.1\python\lib\xmlrpc\client.py", line 1182, in single_request return self.parse_response(resp) File "E:\Programs\Steam\steamapps\common\Blender\3.1\python\lib\xmlrpc\client.py", line 1354, in parse_response return u.close() File "C:\Users\Menno\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\send2ue\dependencies\rpc\client.py", line 55, in close raise exception(exception_message) AttributeError: module 'unreal' has no attribute 'EditorStaticMeshLibrary'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\Menno\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\send2ue\operators.py", line 54, in modal function(*args, **kwargs) File "C:\Users\Menno\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\send2ue\core\ingest.py", line 71, in reset_lods UnrealRemoteCalls.reset_static_mesh_lods(asset_path) File "C:\Users\Menno\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\send2ue\dependencies\rpc\factory.py", line 178, in wrapper return rpc_factory.run_function_remotely(function, args) File "C:\Users\Menno\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\send2ue\dependencies\rpc\factory.py", line 156, in run_function_remotely raise exception.class(stack_trace).with_traceback(call_traceback) File "C:\Users\Menno\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\send2ue\core\ingest.py", line 71, in reset_lods UnrealRemoteCalls.reset_static_mesh_lods(asset_path) AttributeError: module 'unreal' has no attribute 'EditorStaticMeshLibrary' File "C:\Users\Menno\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\send2ue\dependencies\unreal.py", line 783
location::-1
OS: Windows 11 Addon Version: Send to Unreal 2.0.2 Blender Version: Blender 3.1.2 (On 2.93.1 I experienced the same issue) Unreal Version: Unreal 4.27