# UBX\_ from Blender to UE4

**URL:** <https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** unreal-engine, Performance, Performance-Profiling, UE4-27\
**Created:** [January 9, 2022, 10:47pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279 "2022-01-09T22:47:57Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [January 9, 2022, 10:47pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/1 "2022-01-09T22:47:57Z")

</div>

Hi,

what export pipeline from blender collisions (UBX, UCX, USP) to unreal editor do you use ?

I tried, Blender Tools, Batex and the builtin blender export FBX

…nothing works for collisions ( I keep having errors, node not found, stuffs like that)

and blender tools (send to unreal) is not even able to export skeletons anims anymore

so just wanted to know how you guys were managing to do that…

thanks

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [January 10, 2022, 2:39am UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/2 "2022-01-10T02:39:31Z")

</div>

Proper naming.  
But I also use my custom plugin like all the time, so idk or remeber if there’s anything special going on with it.

The UBX/UCX etc. Usually just need to follow proper nomenclature.

I’ll attempt to plug in a screencap of an example from the PC in a few minutes.

[http://mosthostla.com/gamedev/bonebreaker](http://mosthostla.com/gamedev/bonebreaker)  
And the export  
[http://mosthostla.com/gamedev/ue4curves](http://mosthostla.com/gamedev/ue4curves)

---

<div class="post-metadata">

**Author:** ![Limanima](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/limanima/32/248560_2.png) [@Limanima](https://forums.unrealengine.com/u/Limanima)\
**Post date:** [January 10, 2022, 7:27am UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/3 "2022-01-10T07:27:09Z")

</div>

To export collisions you should:  
-For colisions boxes name the mesh UBX\_meshname\_## where ## is the number of the collision box and meshname is the name of the mesh you want to add collisions  
-For irregular collisions name the mesh UCX\_meshname\_##. The mesh must be convex  
-Make the meshes childs of your mesh object

This should work.  
This is explained in the documentation in the FBX section.

---

<div class="post-metadata">

**Author:** ![JoSf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JoSf](https://forums.unrealengine.com/u/JoSf)\
**Post date:** [January 10, 2022, 8:02am UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/4 "2022-01-10T08:02:32Z")

</div>

I made a small [addon for Blender](https://forums.unrealengine.com/t/blender-addon-ue-collision-renamer/269653) to handle renaming.

UBX is strictly a EDIT: rectangular prism, USP is strictly a sphere, UCP is strictly a capsule. UCX is for convex shapes, which will likely be most of what you’re doing. If the collision shape is non-convex you need to split it into more collisions meshes until it is.

I use Blender tools, but those tools do use the default FBX exporter.

---

<div class="post-metadata">

**Author:** ![Limanima](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/limanima/32/248560_2.png) [@Limanima](https://forums.unrealengine.com/u/Limanima)\
**Post date:** [January 10, 2022, 8:27am UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/5 "2022-01-10T08:27:43Z")

</div>

Here’s the documentation:

> **[FBX Static Mesh Pipeline](https://docs.unrealengine.com/4.27/en-US/WorkingWithContent/Importing/FBX/StaticMeshes/)**
>
> Setting up, exporting, and importing Static Meshes using the FBX content pipeline.

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [January 10, 2022, 10:15am UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/6 "2022-01-10T10:15:05Z")

</div>

![ucx_example](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/b/2bc61e9e2c1406cf7bfa4448e4e2c22d4a390500.jpeg)  
Those are mostly UBX - but they are convex since the inside is smaller then the outside.

Anyway, my plugin exports this just fine.

I usually have super complex files, some of which include LODs

 ![c0ba83b3c9a82be2c934a144c1560295](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/7/d788a290d550598968d4e77a9372dade40d8ce70.jpeg)

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [January 10, 2022, 12:54pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/7 "2022-01-10T12:54:36Z")

</div>

> [@Limanima](#):
>
> To export collisions you should:  
> -For colisions boxes name the mesh UBX\_meshname\_## where ## is the number of the collision box and meshname is the name of the mesh you want to add collisions  
> -For irregular collisions name the mesh UCX\_meshname\_##. The mesh must be convex  
> -Make the meshes childs of your mesh object

Built in FBX export : it does not work, **the generated collision wraps the whole object instead of importing the small box I created**

![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/c/8ce244a00e717ae469fc7c5bcdbcb43e9f98ae36.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/0/20e4757499347145fb7252ef049bed8f9cdc2be9.png)

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [January 10, 2022, 12:55pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/8 "2022-01-10T12:55:28Z")

</div>

I tried to find a software to **list the content of the exported fbx** , if anyone knows one …

so far FBX review and FBX exporter (both from autodesk) just display the model

---

<div class="post-metadata">

**Author:** ![Limanima](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/limanima/32/248560_2.png) [@Limanima](https://forums.unrealengine.com/u/Limanima)\
**Post date:** [January 10, 2022, 1:02pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/9 "2022-01-10T13:02:57Z")

</div>

Did you applied transforms to the mesh and the collisions in blender?

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [January 10, 2022, 1:08pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/10 "2022-01-10T13:08:21Z")

</div>

I dont see how it is related but yes, all transforms are applied

the problem is that I dont see in the static mesh editor a list of my collisions the could assert the import did work

I now have 4 collisions  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/9/a9f77c45afe2ce64ce30cce7f37c5ae87425fe97.png)

with the FBX export, only one collision  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/0/b0e4eab4ddf58e3d04a53acd0abb02dc4c24feba.png)

with batex too  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/d/dd7434d219902848feb970d6f00cbae57555d884.png)

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [January 10, 2022, 1:14pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/11 "2022-01-10T13:14:42Z")

</div>

> [@JoSf](#):
>
> I made a small [addon for Blender](https://forums.unrealengine.com/t/blender-addon-ue-collision-renamer/269653) to handle renaming.

I’ll check this one, could be handy indeed 🙂

[edit] tried to install your addon but it does not appear, how do I use it ?

---

<div class="post-metadata">

**Author:** ![Limanima](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/limanima/32/248560_2.png) [@Limanima](https://forums.unrealengine.com/u/Limanima)\
**Post date:** [January 10, 2022, 1:18pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/12 "2022-01-10T13:18:32Z")

</div>

> [@phil123456](#):
>
> **the generated collision wraps the whole object instead of importing the small box I created**

You mentioned this, so I thought it was importing but was too big, but I think I know what you mean.

I’m not sure you can have more then 100 collisions. The documentation refers to XXXXX\_## and not 3 digits for the number of the collision.

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [January 10, 2022, 1:18pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/13 "2022-01-10T13:18:53Z")

</div>

I have 4

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [January 10, 2022, 1:20pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/14 "2022-01-10T13:20:19Z")

</div>

it does not work at all, anyway static mesh editor does not seem to handle external collisions anyway, it creates its own simple/complex collisions

I’ll have to create the collisions manualy

---

<div class="post-metadata">

**Author:** ![Limanima](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/limanima/32/248560_2.png) [@Limanima](https://forums.unrealengine.com/u/Limanima)\
**Post date:** [January 10, 2022, 1:23pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/15 "2022-01-10T13:23:16Z")

</div>

Yes, but you have this:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/2/227fa20bfee972ae60233bd4d56056589824510c.png)

\_001  
\_002

Try:

\_01  
\_02

---

<div class="post-metadata">

**Author:** ![JoSf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JoSf](https://forums.unrealengine.com/u/JoSf)\
**Post date:** [January 10, 2022, 1:25pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/16 "2022-01-10T13:25:08Z")

</div>

Create a folder called ue\_collision\_renamer, put the “ **init** ” file there, and put that folder in Blender/version/scripts/addons

I don’t think it installs “normally” from outside because it’s just the .py file.

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [January 10, 2022, 1:39pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/17 "2022-01-10T13:39:39Z")

</div>

ok it is installed

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/e/bedf1089397dc4c3cd90a99fa2bd176825d78c67.png)

![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/d/bd29db66694610186b9d3a2b03bb8ba12a2c6ea5.png)

and indeed, it’s only 2 digits

![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/2/52f4f88c54c1f6695610ebd86341e1323f7f7ea8.png)

---

<div class="post-metadata">

**Author:** ![Limanima](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/limanima/32/248560_2.png) [@Limanima](https://forums.unrealengine.com/u/Limanima)\
**Post date:** [January 10, 2022, 1:39pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/18 "2022-01-10T13:39:54Z")

</div>

If you can’t get this to work, let me know. I’ll create a sample working file and send you so you can try it and see what’s different in yours.  
I know this works because I use it all the time.

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [January 10, 2022, 1:44pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/19 "2022-01-10T13:44:40Z")

</div>

2 digits was the trick…now UE4 proposes me to import the collisions

but I dont see them in the static mesh editor ☹

---

<div class="post-metadata">

**Author:** ![Limanima](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/limanima/32/248560_2.png) [@Limanima](https://forums.unrealengine.com/u/Limanima)\
**Post date:** [January 10, 2022, 1:46pm UTC](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279/20 "2022-01-10T13:46:36Z")

</div>

Here’s a working example:

[sphere.fbx](https://forums.unrealengine.com/uploads/short-url/n6KW7n1drk9rFwdtBwaWNSaa4YH.fbx) (32.7 KB)  
[sphere.blend](https://forums.unrealengine.com/uploads/short-url/boIcvGedD6YGWtZyxQVQg4MK7y0.blend) (847.2 KB)

![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/2/92a29d7504295dd64f02d4ab334b5b44f20ab6a6.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/5/c5949aa8d494397488d1b337f592eee0daa0ac36.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/5/a500b8ac7db74947b6c6a24e5e56d2974effba97.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/7/e74e80a9d8480a9267adedc0c361461e8109108c.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/c/4c0f4b54f4d3dfb9734818aa20a089bbde6a1f96.jpeg)

[Next page](https://forums.unrealengine.com/t/ubx-from-blender-to-ue4/271279.md?page=2)
