Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Blender Unreal Engine Workspace






    Blender 2.8x (above) add-on for export directly to Unreal Engine 4 with all setting in Blender (inspired by send to unreal add-on).

    and yeah, I don't really have any future plan. so if you have any suggest just post reply in this post

    Feature

    v1.2



    v1.3



    v1.4



    Allow you export static mesh, skeletal mesh, and animation with single click directly to Unreal Engine 4 or to FBX file.



    Static Mesh

    Export for Static Mesh.
    • Export to FBX and Unreal Engine
    • Custom collision from vertices
    • Custom collision from mesh - v1.2
    • Custom lightmaps
    • Export profile - v.1.2
    • Socket System - v.1.3
    • Level of Detail - v.1.4
    • Import Static Mesh From Unreal Engine - v.1.4
    Character

    Export for Character (Skeletal Mesh).
    • Export to FBX and Unreal Engine
    • Modular character
    • Skeleton preset (Epic skeleton)
    • Add twist bone for skeleton preset - v1.2
    • Generate rig for skeleton preset - v1.2
    • Export profile - v.1.2
    • Socket System (Not Support Export) - v.1.3
    • Character Part Manager - v.1.4
    • Import Skeletal Mesh From Unreal Engine - v.1.4
    Animation

    Export for Animation.
    • Export to FBX and Unreal Engine - v1.2
    • Export profile - v.1.2
    • Import Animation From Unreal Engine - v.1.4

    Retarget Animation
    Retarget Animation to another skeleton - v.1.3 Experimental, v.1.4 Production Ready


    Documentation
    documentation page or youtube playlist



    Download

    You can download frommaster branch is unstable and bug fix version


    Installation

    You can watch this video



    or simply follow this instruction below.

    Blender

    Edit > Preferences > Add-ons > Install > Select UE4Workspace.zip > Install Add-ons

    Unreal Engine 4

    Edit > Plugins > Type "Script" On Search Bar > Enabled Python Editor Script Plugin and Editor Scripting Utilities > Reset Project


    Edit > Project Setting > Plugin > Python > Check Enable Remote Execution?

    Then you can try to connect your project from blender.


    Usage

    Press N on Blender for open the tab menu.


    Compatibility Test
    • 2.81 - DROP from version v.1.3
    • 2.82 - DROP from version v.1.4
    • 2.83 (make sure export folder path is absolute)
    • 2.90 (make sure export folder path is absolute)
    Last edited by Anas Rin; 09-07-2020, 01:35 AM. Reason: edit truncate text

    #2
    i am trying to use your tools, but whenever i try to click on "Update List Skeleton" i got this error message:

    Traceback (most recent call last):
    File "C:\Users\hng8\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\UE4Workspace\UE4WS_Character.py", line 371, in execute
    skeletonList += json.loads(output["output"][0]["output"])
    IndexError: list index out of range

    location: <unknown location>:-1

    Comment


      #3
      Originally posted by Hornsen View Post
      i am trying to use your tools, but whenever i try to click on "Update List Skeleton" i got this error message:

      Traceback (most recent call last):
      File "C:\Users\hng8\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\UE4Workspace\UE4WS_Character.py", line 371, in execute
      skeletonList += json.loads(output["output"][0]["output"])
      IndexError: list index out of range

      location: <unknown location>:-1
      Thanks for report


      Can You open your Unreal Engine project > File > Recent Python Script > Select "GetAllSkeleton.py" > Check Your console, You should be get all Your skeleton in array string

      tell me what you get ??





      Comment


        #4
        in Unreal Engine > Recent Python Script is empty, seems like GetAllSkeleton.py doesn't able to execute remotely in UE4.

        if i open my output log in UE4, this is what i see when i click on Update List Skeleton
        LogPython: Error: SyntaxError: invalid syntax (<string>, line 1)
        Last edited by Hornsen; 06-24-2020, 08:12 PM.

        Comment


          #5
          can you edit UE4WS_Character.py
          search for
          Code:
          output = self.remote.run_command(os.path.join(os.path.dirname(os.path.realpath(__file__)), "PyScript", "GetAllSkeleton.py"), exec_mode="ExecuteFile")
          and add
          Code:
          output = self.remote.run_command(os.path.join(os.path.dirname(os.path.realpath(__file__)), "PyScript", "GetAllSkeleton.py"), exec_mode="ExecuteFile")
          print(output)
          to know output from Unreal Engine.

          open Blender > Connect to Unreal Engine > Update List Skeleton > Window > Toggle System Console > See what the output ??

          Comment


            #6
            looks like the output is empty:

            Traceback (most recent call last):
            File "C:\Users\hng8\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\UE4Workspace\UE4WS_Character.py", line 371, in execute
            self.remote.close_command_connection()
            IndexError: list index out of range

            location: <unknown location>:-1

            Comment


              #7
              I'm kinda confused right now, can you make some video how your workflow.
              It's hard to debug when I can't see someone workflow.

              Comment


                #8
                Hi Anas,
                i manage to solve the problem, all my blender addons were installed into:
                C:\Users\hng8\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\UE4Workspace
                i think there was a space in the middle causing the python script to behave incorrectly.

                now i change my addon into a new folders without space like this:
                C:\Users\hng8\Documents\Blender\Addon\addons\UE4Workspace
                and the script is working correctly now.

                Comment


                  #9
                  Originally posted by Hornsen View Post
                  Hi Anas,
                  i manage to solve the problem, all my blender addons were installed into:
                  C:\Users\hng8\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\UE4Workspace
                  i think there was a space in the middle causing the python script to behave incorrectly.

                  now i change my addon into a new folders without space like this:
                  C:\Users\hng8\Documents\Blender\Addon\addons\UE4Workspace
                  and the script is working correctly now.

                  Ah.. folder issue, thanks for report this issue
                  I will figure out for this issue ASAP, I'm not having this issue because I'm using Portable Blender and all add-on install is not going to %APPDATA% on windows

                  Comment


                    #10
                    Bug Fix : v1.2.2 was available on Gumroad and Github
                    • Fix Python PATH Script Issue

                    Comment


                      #11
                      i have blender connected to Unreal. the project name shows up in blender. but when i hit export. nothing shows up in Unreal. i have a blank project in unreal and there is nothing there. i'm using Version 4.25

                      Comment


                        #12
                        here's an error message i'm getting when i hit Export https://i.imgur.com/S9t3FCD.png

                        Comment


                          #13
                          Originally posted by SithLordSparky View Post
                          here's an error message i'm getting when i hit Export https://i.imgur.com/S9t3FCD.png
                          thanks for bug report, try to change multicast group endpoint port

                          Unreal Engine 4

                          Edit > Project Setting > Plugin | Python > Expand the remote execution and change the port of multicast group endpoint

                          Blender

                          Edit > Preferences > Add-ons > Search UE4Workspace > Expand add-on option, and change the port of multicast group endpoint

                          and do some test export to unreal engine, like export some cube from blender to unreal engine, hope that help you

                          Comment


                            #14
                            v1.3.0

                            new feature
                            • socket
                            • humanoid face rig
                            • retarget animation (experimental)
                            improve
                            • control rig
                            • custom collision
                            • custom bone
                            changes
                            • all object panel now using sub panel
                            • panel closed by default
                            • pole calculation location

                            Comment


                              #15
                              v1.4.0


                              Changelog
                              https://anasrar.github.io/Blender-UE...hangelog/#v140

                              Comment

                              Working...
                              X