Blender add-on for better workflow with Unreal Engine 4 - Blender Unreal Engine Workspace

can you reproduce the issues in blender with system console output and send the output.
you can toggle system console output [Window > Toggle System Console].

for copy/paste socket, it does not need to connect to unreal engine or blender.

here some example :

my plan is to update when unreal engine 5 was release and production ready, so if you can send me the error message i will update for quick fix.

Hey, thanks for the quick reply.
Waiting for UE5 makes a lot of sense. In the meanwhile, here’s the log from blender. Would appreciate a quick fix, if it’s easy to pinpoint the culprit.

This error pops up repeatedly as I try to connect to UE from blender 2.93.

Failed to deserialize JSON “{“version”: 1, “magic”: “ue_py”, “type”: “ping”, “source”: “28e00684-4110-4a73-ab49-9a0500ca99ff”}”: init() got an unexpected keyword argument ‘encoding’
Failed to deserialize JSON “{“version”:1,“magic”:“ue_py”,“type”:“pong”,“source”:“819647044764C36ACC3B17AA886F908C”,“dest”:“28e00684-4110-4a73-ab49-9a0500ca99ff”,“data”:{“user”:“name”,“machine”:“name”,“engine_version”:“4.27.0-17155196+++UE4+Release-4.27”,“engine_root”:“E:/UE_4.27/Engine/”,“project_root”:“E:/Progenitor/UnrealEngine 4.27/”,“project_name”:“Progenitor”}}”: init() got an unexpected keyword argument ‘encoding’

This is what happens when I connect and export from Blender 2.91 to UE 4.27.0. It’s the same for UE4.26.2

Found Node A095D1F640594E94A9FE83BEA0C69055: {‘user’: ‘name’, ‘machine’: ‘name’, ‘engine_version’: ‘4.27.0-17155196+++UE4+Release-4.27’, ‘engine_root’: ‘E:/UE_4.27/Engine/’, ‘project_root’: ‘E:/Progenitor/UnrealEngine 4.27/’, ‘project_name’: ‘Progenitor’}
FBX export starting… ‘E:\Progenitor\Models\Cube.fbx’
FBX export prepare: Wrapping Objects…
Done (0.000000 sec)
FBX export prepare: Wrapping Data (lamps, cameras, empties)…
Done (0.000000 sec)
FBX export prepare: Wrapping Meshes…
Done (0.000000 sec)
FBX export prepare: Wrapping ShapeKeys…
Done (0.000000 sec)
FBX export prepare: Wrapping Armatures…
Done (0.000000 sec)
FBX export prepare: Wrapping World…
Done (0.000000 sec)
FBX export prepare: Wrapping Materials…
Done (0.000000 sec)
FBX export prepare: Wrapping Textures…
Done (0.000000 sec)
FBX export prepare: Wrapping Animations…
Done (0.000000 sec)
FBX export prepare: Generating templates…
Done (0.000000 sec)
FBX export prepare: Generating Connections…
Done (0.000000 sec)
FBX export fetch empties (0)…
Done (0.000000 sec)
FBX export fetch lamps (0)…
Done (0.000000 sec)
FBX export fetch cameras (0)…
Done (0.000000 sec)
FBX export fetch meshes (1)…
Done (0.000000 sec)
FBX export fetch objects (1)…
Done (0.000000 sec)
FBX export fetch remaining…
Done (0.000000 sec)
FBX export fetch animations…
Done (0.000000 sec)
export finished in 0.0000 sec.
Info: Export Static Mesh Done

Python script doesn’t even run on UE’s side. And I’ve checked and triple checked that I have enable all plugins and ticked all the boxes.

And then, what’s working for me - blender 2.91 to UE 4.25.3, the script output is the same AND on Ureal’s side I still don’t have anything under “Recent Python Scripts”, but the cube is imported normally…
One thing I realized, because other people have had issues with folder paths, I have both my UE 4.27 and 4.26.2 in ‘engine_root’: 'E:/
but my UE 4.25.3 in ‘engine_root’: 'C:/Program Files/Epic Games/
Then my project for 4.25.3 is in ‘project_root’: ‘E:/Progenitor/UnrealEngine/’ but for 4.27 - ‘project_root’: ‘E:/Progenitor/UnrealEngine 4.27/’ (i.e. there is a space in the name… I’ll check to see if renaming will achieve anything…

EDIT:
Renaming the project folder did NOT fix it.

it seem they change JSON structure on 4.27.

UE 4.25 and below is using python 2, while UE 4.26 above is using python 3.
has many syntax is not compatible.

forget to mention which version addon you install ?, please install 2.0.0 alpha here : Release v2.0.0 - alpha · anasrar/Blender-UE4-Workspace · GitHub.

I will work soon as possible after I install UE 4.27, thanks for feedback.

Whoops, sorry about that. I am in fact using 1.4.0. I didn’t install 2.0.0 because when I read alpha I just assumed there might be some hiccups, that’s on me.

Now with 2.0.0 alpha I can normally export from Blender 2.91 to UE4.27.0.
Blender 2.93 still giving me the connection error, but since I’m just doing basic manipulations and applying simple modifiers, I don’t need the most up to date version.

Thank you for putting up with me :slight_smile:

thanks for feedback, still not sure I want to fix on this issue.
i’m just gonna wait til UE 5 is release.

Wow, this is cool! AND it handles textures and materials? That’s more than the “official” add-on!

I’m going to have to try this. :+1: Great effort, because the Ux of the “official” add-on is really poor.

does this plugin support blender v3.0.0 and UE5.0 ?
or is there something else that does ?

not tested yet, but i will update this addon when UE5 was officially release for production ready

1 Like

Loved this plugin for keeping instances. Official send2ue lacks it.
Someone knows substitute?