EpicGamesExt / BlenderTools

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

Send2unreal plugin not working - UE 4.26.2 - Blender 4.0.1 #693

Open JIGASHI opened 10 months ago

JIGASHI commented 10 months ago

(I removed windows user name in this error paste) Tried the last 6 send2unreal add-on versions. Remote execution is enabled in unreal, and no blockage in firewall. 239.0.0.1:6766 0.0.0.0


Python: Traceback (most recent call last): File "C:\Users\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\send2ue\dependencies\rpc\factory.py", line 221, in run_function_remotely return remote_function(*args) File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\xmlrpc\client.py", line 1122, in call return self.send(self.name, args) File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\xmlrpc\client.py", line 1464, in request response = self.transport.request( File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\xmlrpc\client.py", line 1166, in request return self.single_request(host, handler, request_body, verbose) File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\xmlrpc\client.py", line 1182, in single_request return self.parse_response(resp) File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\xmlrpc\client.py", line 1354, in parse_response return u.close() File "C:\Users\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\send2ue\dependencies\rpc\client.py", line 55, in close raise exception(exception_message) Exception: FbxStaticMeshImportData: Failed to find property 'build_nanite' for attribute 'build_nanite' on 'FbxStaticMeshImportData'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\send2ue\operators.py", line 71, in modal raise error File "C:\Users\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\send2ue\operators.py", line 61, in modal function(*args, **kwargs) File "C:\Users\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\send2ue\core\ingest.py", line 26, in import_asset UnrealRemoteCalls.import_asset(file_path, asset_data, property_data) File "C:\Users\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\send2ue\dependencies\rpc\factory.py", line 248, in wrapper return rpc_factory.run_function_remotely(function, args) File "C:\Users\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\send2ue\dependencies\rpc\factory.py", line 226, in run_function_remotely raise exception.class(stack_trace).with_traceback(call_traceback) File "C:\Users\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\send2ue\core\ingest.py", line 26, in import_asset UnrealRemoteCalls.import_asset(file_path, asset_data, property_data) Exception: FbxStaticMeshImportData: Failed to find property 'build_nanite' for attribute 'build_nanite' on 'FbxStaticMeshImportData' File "C:\Users\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\send2ue\dependencies\unreal.py", line 1244


(I removed windows user name in this error paste) Tried the last 6 send2unreal add-on versions. Remote execution is enabled in unreal, and no blockage in firewall. 239.0.0.1:6766 0.0.0.0

weedhead69 commented 10 months ago

I give up... same Problem with: Blender 3.6 or 4.0 and UE 4.27.2. - send2unreal v. 2.4.3

I also tested with Blender 4 and UE 5.23 -> nothing happens.

`FBX export starting... 'C:\Users\gilli\AppData\Local\Temp\blender\send2ue\data\StaticMesh\SM_Cube.fbx' export finished in 0.0000 sec. Traceback (most recent call last): File "C:\Users\gilli\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\send2ue\dependencies\rpc\factory.py", line 221, in run_function_remotely return remote_function(*args) File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\python\lib\xmlrpc\client.py", line 1122, in call return self.send(self.name, args) File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\python\lib\xmlrpc\client.py", line 1464, in request response = self.transport.request( File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\python\lib\xmlrpc\client.py", line 1166, in request return self.single_request(host, handler, request_body, verbose) File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\python\lib\xmlrpc\client.py", line 1182, in single_request return self.parse_response(resp) File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\python\lib\xmlrpc\client.py", line 1354, in parse_response return u.close() File "C:\Users\gilli\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\send2ue\dependencies\rpc\client.py", line 55, in close raise exception(exception_message) Exception: FbxStaticMeshImportData: Failed to find property 'build_nanite' for attribute 'build_nanite' on 'FbxStaticMeshImportData'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\weedhead\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\send2ue\operators.py", line 71, in modal raise error File "C:\Users\weedhead\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\send2ue\operators.py", line 61, in modal function(*args, **kwargs) File "C:\Users\weedhead\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\send2ue\core\ingest.py", line 26, in import_asset UnrealRemoteCalls.import_asset(file_path, asset_data, property_data) File "C:\Users\weedhead\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\send2ue\dependencies\rpc\factory.py", line 248, in wrapper return rpc_factory.run_function_remotely(function, args) File "C:\Users\weedhead\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\send2ue\dependencies\rpc\factory.py", line 226, in run_function_remotely raise exception.class(stack_trace).with_traceback(call_traceback) File "C:\Users\weedhead\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\send2ue\core\ingest.py", line 26, in import_asset UnrealRemoteCalls.import_asset(file_path, asset_data, property_data) Exception: FbxStaticMeshImportData: Failed to find property 'build_nanite' for attribute 'build_nanite' on 'FbxStaticMeshImportData' File "C:\Users\weedhead\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\send2ue\dependencies\unreal.py", line 1244`

EricE-MW commented 10 months ago

Same here, sent to unreal 4.3.2 doesnt work with blender 4.0. Same addon with 3.6 works!

mikevarilek commented 10 months ago

Send To Unreal 2.4.3 is also not working with Blender 4.0 and UE 5.3.2. New project, export of Cube only. Errors: FBX Scene Loading Failed : 'File is corrupted Cube2.fbx' Can't detect import type. No mesh is found or animation track.

vikista commented 10 months ago

Same here, have to use Blender 3.6 to export to UE :(

JoshQuake commented 9 months ago

I have posted a fix here: https://github.com/EpicGames/BlenderTools/issues/676#issuecomment-1841729765

jamesbaber1 commented 9 months ago

Thanks for the fix @JoshQuake. Looks like there are a number of test cases still failing with send2ue and Blender 4.0, but this fixes one of the fbx issues.

For now I would reccomend people stay on blender 3.6 and Unreal 5.3 if you want the addon to work. There have been some python API changes in blender 4.0. Im hoping to get some time to look through these failed tests in a week or so.

@JIGASHI and @weedhead69 The issues you are having is using unreal 4 with the latest addon version. The latest version of the addon is only compatible with the versions listed in the release notes. If you need to use unreal 4, check through old releases till you find one that says the tests are passing on Unreal 4.

weedhead69 commented 9 months ago

Thank you, that sounds good.

alexisrivera3d commented 8 months ago

Please fix the addon :( @JoshQuake posted a fix for that