# RuntimeMeshImportExport - Import and Export runtime created static meshes using Assimp library

**URL:** <https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921>\
**Category:** UE Marketplace\
**Tags:** unreal-engine, fab\
**Created:** [August 14, 2019, 8:05pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921 "2019-08-14T20:05:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [August 14, 2019, 8:05pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/1 "2019-08-14T20:05:16Z")

</div>

**Description**  
Import and export of static mesh data at runtime. Can be used in conjunction with ProceduralMeshComponent or RuntimeMeshComponent. Both, import and export is possible synchrounous and asynchrounous. The plugin uses Assimp library to achieve this ([Assimp](http://www.assimp.org)). Using Assimp library also means huge list of supported file formats for import as well as export.

The Plugin makes use of v5.0 of Assimp ([Assimp Github](https://github.com/assimp/assimp)). Means there is no custom build of Assimp used in the Plugin which allows you to freely create your own Assimp build or Update to a newer version.

This plugin started from [RuntimeMeshLoader Github](https://github.com/GameInstitute/RuntimeMeshLoader) and was hugely modified, improved and added async support.

**Features**

- Sync and Async import and export
- Thanks to Assimp the plugin supports lots of formats
- Useable via Blueprint and C++
- Normalize the import (crunch the imported scene into 100cm cube)
- Combine meshes and/or sections on import
- Debug and Release Binaries
- Import of Material data (see below)

**Media** [Unreal Plugin RuntimeMeshImportExport Export Teaser - YouTube](https://youtube.com/watch?v=FNSt9x9a_6c)

**Download**** RuntimeMeshImportExport on Marketplace**]([RuntimeMeshImportExport in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/slug/runtimemeshimportexport))

**Material DATA Import**  
-Material DATA import is supported since version 1.3

- **Strong dependency on exporting application, file format support and what assimp imports from the file**

-Texture files are supported as separate files and embedded

- Embedded: Must be an embedded format (jpg, png, …)! **Raw pixel data is not supported at the moment**
- Separate: The texture must be relative to the mesh file (best case is within the same folder)

-Supported Texture formats: Everything the ImageWrapper module of Unreal supports

- PNG, JPEG, JPG, GrayscaleJPEG, BMP, ICO, EXR, ICNS
- _NOTE: Yes, Unreal is able to handle TGA files, but ONLY IN EDITOR! Thus not supported with the plugin._

**-Materials are only imported as parameters. You must provide a Material that accepts these parameters (#40]([RuntimeMeshImportExport - Import and Export runtime created static meshes using Assimp library - #42 by AronBaron - Marketplace - Unreal Engine Forums](https://forums.unrealengine.com/unreal-engine/marketplace/1653161-runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library?p=1725805#post1725805))). A function is provided to create a loggable string representation of the imported material data.**  
[SPOILER]  
Example output of function **MaterialInfoToLogString**

```auto

-------------------- MaterialInfo -------------------
Material Name: phong4
     bWireframe: false
     bTwoSided: false
     ShadingModel: Blinn, as int: 3
     BlendMode: , as int: -1
     ScalarParameter
           Opacity: 1.000000
           Transparency: 1.000000
           Reflectivity: 0.500000
     VectorParameter
     TextureParameter
           TexDiffuse: width: 312510, height: 0, byteDescription: jpg, byteCount: 312510
           TexNormal: width: 266491, height: 0, byteDescription: jpg, byteCount: 266491
-----------------------------------------------------

```

[/SPOILER]

- ScalarParam:

[SPOILER]  
Opacity  
Transparency  
BumpScaling  
Shininess  
ShininessStrength  
Reflectivity  
Refraction  
[/SPOILER]

- VectorParam:

[SPOILER]  
Diffuse  
Specular  
Emissive  
Transparent  
Reflective  
[/SPOILER]

- TextureParam:

[SPOILER]  
TexDiffuse  
TexSpecular  
TexEmissive  
TexHeight  
TexNormal  
TexShininess  
TexOpacity  
TexDisplacement  
TexLightmap  
TexReflection  
TexBaseColor  
TexNormalCamera  
TexEmissive  
TexMetallic  
TexRoughness  
TexAmbientOcclusion  
[/SPOILER]

- Successful Test Object: [https://free3d.com/3d-model/tooth-pa…del-81794.html](https://free3d.com/3d-model/tooth-paste-brush-model-81794.html) (Note: OBJ-Import: NormalMap is imported as TexHeight)

**Using the Plugin on a platform other than Win32/64**  
The plugin itself does not include any platform specific code and sticks to Unreals functions (which are multi platform). However the plugin comes only with Win32/64 binaries for Assimp.  
**That means you need to compile Assimp on your own and add it to the Plugin in RuntimeMeshImportExport/Source/Thirdparty/assimp/…**  
**That also includes modifying**

```auto

RuntimeMeshImportExport.uplugin

```

**and**

```auto

FRuntimeMeshImportExportModule::StartupModule() in RuntimeMeshImportExport.cpp

```

\*\*to load the correct binaries.

FAQ\*\*  
[SPOILER]  
**Does the plugin support creation of StaticMeshes from the imported data?**  
-No, and there is no intention of trying to add that functionality.

**Can we Import Animations/SkeletalMeshes?**  
-No, and there is no intention of trying to add that functionality. Though Assimp supports that, if tyou want to implement it on your own.

**Will you add support for other platforms than Win32/64?**  
-No, and there is no itention to do that.  
[/SPOILER]

**Changes**  
[SPOILER]  
Version 1.11  
-Import parameters were collapsed into a structure for easier handling  
-Import parameters now contain mesh Post Process flags for assimp  
-Converted a crash to a log: Import of faces with less then 3 indices

Version 1.10  
-Export is now possible with no VertexColor (interface function GetMeshData). In that case the plugin will set all vertex colors to white.

Version 1.9  
-Fixed transform of ImportScene node was not applied to the imported scene  
-Fixed seperate texture files for material data import did not support unicode characters

Version 1.8  
-Fixed up transform mess that was created with update 1.6

Version 1.7  
-Changed how Normals are treated regarding scaling. Previously these were not affected, now they seem to fit.  
-When using negative scale on the object on import, triangle winding order is flipped for 1 and 3 negative values (x,y,z). This will prevent inside out models.  
-TexAmbient (TextureParameter) and Ambient (VectorParameter) are not imported for materials anymore as they seem to be a duplicate of TexDiffuse/Diffuse.

Version 1.6  
-Changed progress update. Instead of a string, an enum and the progress numbers are returned. This allows for custom text that can also be translated as part of the application.  
-Async import now also returnes progress  
-Progress is expanded to contain progress of Assimp import and export process.

Version 1.5  
-Fixed weird crash with name given to the DynamicMaterial create from MaterialData

Version 1.4  
-Fixed Vector parameter import not working for MaterialData import

Version 1.3  
-Added support for MaterialData on import

Version 1.2  
-Fixed: Export can’t create directory trees

Version 1.1  
-Refactored the import result. Instead of returning a mess, meshes are now seperated, return their name and their material sections. Each material section now also contains its material name.  
-ImportMethode is now split up into Mesh and Section  
-Mesh: Keep, Merge  
-Section: Keep, Merge, MergeSameMaterial  
-Some smaller code cleanups (API did change a bit)

Version 1.0  
-Release  
[/SPOILER]

**Examples** **![Arrow.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/b/db4a3378f9f5da544a70d5c18e8661d360a93f7e.png)**

---

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [August 17, 2019, 2:38pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/2 "2019-08-17T14:38:54Z")

</div>

**Example Project**  
Shipping version to test model import without buying the plugin  
[https://drive.google.com/open?id=1zu…XShIMet2mUdA-J](https://drive.google.com/open?id=1zu2jvPkvy7oIzkjSW4XShIMet2mUdA-J)

Editor EngineVersion 4.23, requires the Plugin installed to the engine  
[https://drive.google.com/open?id=1Z5…0GYBWcmRf1kulO](https://drive.google.com/open?id=1Z55VnFp44ZCvD3qOyX0GYBWcmRf1kulO)

**Example Code**  
Click the Images to enlarge them

**Import**

 ![SimpleImport.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/d/ed3f2fbb29f769bab545f06d0f759d2afb53e409.jpeg)

Material Data to Material  
1: Create a material that provides the parameters you want to get applied from the imported material data (**#40)]([RuntimeMeshImportExport - Import and Export runtime created static meshes using Assimp library - #42 by AronBaron - Marketplace - Unreal Engine Forums](https://forums.unrealengine.com/unreal-engine/marketplace/1653161-runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library?p=1725805#post1725805))**  
2: Place the material in “Material Info To Dynamic Material” node and feed it the material data to apply.  
3: Set the resulting dynamic material to the mesh component.

 ![MaterialExample.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/9/89aa34fc4d4a2c3df206da3472abc6fa26ef4f09.png)

**Export**

 ![image_170993.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/7/d7024d644958bcfbf59309996d03861063ab0ed4.png)

 ![image_170994.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/6/56d7c6d7d04744ef3d3648332ba70726b0589e7b.jpeg)

---

<div class="post-metadata">

**Author:** ![YawLighthouse](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yawlighthouse/32/1125831_2.png) [@YawLighthouse](https://forums.unrealengine.com/u/YawLighthouse)\
**Post date:** [September 6, 2019, 7:07pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/3 "2019-09-06T19:07:36Z")

</div>

Hows progress on this plugin going? Coming from what you posted on the runtime mesh loader github pull request 🙂

---

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [September 6, 2019, 8:19pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/4 "2019-09-06T20:19:11Z")

</div>

Thanks for your interest. We wanted to release with UE4.23, but just yesterday we needed to make an addition. I try to make the Marketplace push on Monday, though it might take awhile for the Marketplace team to check it.

---

<div class="post-metadata">

**Author:** ![YawLighthouse](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yawlighthouse/32/1125831_2.png) [@YawLighthouse](https://forums.unrealengine.com/u/YawLighthouse)\
**Post date:** [September 7, 2019, 2:28am UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/5 "2019-09-07T02:28:21Z")

</div>

Ok cool! Cant wait to check it out

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d711831b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d711831b](https://forums.unrealengine.com/u/anonymous_user_d711831b)\
**Post date:** [November 2, 2019, 7:47am UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/6 "2019-11-02T07:47:40Z")

</div>

Hi. Is this plugin completed?

---

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [November 3, 2019, 9:40am UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/7 "2019-11-03T09:40:00Z")

</div>

> [@anonymous\_user\_d711831b](#):
>
> Hi. Is this plugin completed?

still playing pingpong with the marketplace team. Currently in the legal stage cause of third party code.

---

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [November 7, 2019, 3:01pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/8 "2019-11-07T15:01:49Z")

</div>

I’m happy to announce the release of the Plugin. It is now available for Unreal 4.21+ and makes use of the [Assimp v5.0 release](https://github.com/assimp/assimp/releases/tag/v5.0.0).

---

<div class="post-metadata">

**Author:** ![VKleinMP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VKleinMP](https://forums.unrealengine.com/u/VKleinMP)\
**Post date:** [November 19, 2019, 6:46pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/9 "2019-11-19T18:46:25Z")

</div>

I just discovered it on the Marketplace and brought it instantly. Fantastic.  
I need clarification about how you handle materials from obj. What is the “Material Index” output in RuntimeMeshImportMeshInfo?  
I only need the name of the material, no values, only the string name.

---

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [November 19, 2019, 10:44pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/10 "2019-11-19T22:44:46Z")

</div>

> [@VKleinMP](#):
>
> I just discovered it on the Marketplace and brought it instantly. Fantastic.  
> I need clarification about how you handle materials from obj. What is the “Material Index” output in RuntimeMeshImportMeshInfo?  
> I only need the name of the material, no values, only the string name.

Much of that is taken over from the originating Github project. The Index (Tooltip seems to be messed up) is the element ID if the material when opening a static mesh viewer.

 ![Unbenannt.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/5/f5f85c410a600e6fe4e234bea65942ddc7c091ae.jpeg)

It is basically useless as original objects are not retained in the import. Yes, the material name should be added to the result. Maybe return that more properly (Keep sections of a mesh together in the returned data).  
This might cause some trouble with making the import Uniform on request, but will see to it tomorrow.

---

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [November 20, 2019, 5:20pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/11 "2019-11-20T17:20:04Z")

</div>

Update pushed to the Marketplace. See Changelog in #1]([RuntimeMeshImportExport - Import and Export runtime created static meshes using Assimp library - Marketplace - Unreal Engine Forums](https://forums.unrealengine.com/unreal-engine/marketplace/1653161-runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library#post1653161)) and changed Import example in #2]([RuntimeMeshImportExport - Import and Export runtime created static meshes using Assimp library - #2 by Rumbleball - Marketplace - Unreal Engine Forums](https://forums.unrealengine.com/unreal-engine/marketplace/1653161-runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library?p=1654091#post1654091)).

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d711831b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d711831b](https://forums.unrealengine.com/u/anonymous_user_d711831b)\
**Post date:** [November 21, 2019, 3:02pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/12 "2019-11-21T15:02:29Z")

</div>

> [@Rumbleball](#):
>
> I’m happy to announce the release of the Plugin. It is now available for Unreal 4.21+ and makes use of the [Assimp v5.0 release](https://github.com/assimp/assimp/releases/tag/v5.0.0).

Thanks a lot man! One quick question - does it work with Skeletal meshes? I saw on your plugin’s marketplace page that “ **Only raw mesh information is supported** ” so I think skeletal meshes may not be possible. Basically I’m trying to import a skeletal mesh at runtime which means the skeleton as well. If it’s not possible straightforward, is there any workaround that you can enlighten me with please?  
Thanks again!

---

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [November 22, 2019, 2:18pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/13 "2019-11-22T14:18:48Z")

</div>

[USER=“3422878”]Shikhar Arora[/USER] No, it does not work out of the box. Assimp itself does support skeletal meshes, so you can extent the plugin. Most of the work is done, should not be so much trouble to add skeletal to it.

Though the actual problem you will encounter is, that there is no runtime skeletal mesh component like ProceduralMeshComponent/CustomMeshComponent/RuntimeMeshComponent for StaticMesh. MAYBE you can just spawn a USkeletalMesh at runtime, feed it the imported data and give it to the USkeletalMeshComponent, but that something behind my knowledge.

I personally did not use any SkeletalMeshes, so can’t help you there.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d711831b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d711831b](https://forums.unrealengine.com/u/anonymous_user_d711831b)\
**Post date:** [November 22, 2019, 2:33pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/14 "2019-11-22T14:33:29Z")

</div>

> [@Rumbleball](#):
>
> [USER=“3422878”]Shikhar Arora[/USER] No, it does not work out of the box. Assimp itself does support skeletal meshes, so you can extent the plugin. Most of the work is done, should not be so much trouble to add skeletal to it.
> 
> Though the actual problem you will encounter is, that there is no runtime skeletal mesh component like ProceduralMeshComponent/CustomMeshComponent/RuntimeMeshComponent for StaticMesh. MAYBE you can just spawn a USkeletalMesh at runtime, feed it the imported data and give it to the USkeletalMeshComponent, but that something behind my knowledge.
> 
> I personally did not use any SkeletalMeshes, so can’t help you there.

Ok I’ll look into Uskeletal mesh possibilities. Thanks a lot!!  
​​​​​​​

---

<div class="post-metadata">

**Author:** ![VKleinMP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VKleinMP](https://forums.unrealengine.com/u/VKleinMP)\
**Post date:** [November 22, 2019, 2:38pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/15 "2019-11-22T14:38:16Z")

</div>

> [@Rumbleball](#):
>
> Update pushed to the Marketplace. See Changelog in #1]([https://forums.unrealengine.com/unreal-engine/marketplace/1653161-runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library#post1653161](https://forums.unrealengine.com/unreal-engine/marketplace/1653161-runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library#post1653161)) and changed Import example in #2]([https://forums.unrealengine.com/unreal-engine/marketplace/1653161-runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library?p=1654091#post1654091](https://forums.unrealengine.com/unreal-engine/marketplace/1653161-runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library?p=1654091#post1654091)).

Yes, you delivered 1.1 bulls eye. Perfect (for my actual project) material handling and you fixed a strange import problem (same geometry imported differently in different Unreal levels) I’ve also encountered in my project. BIG THANKS.

---

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [November 22, 2019, 3:00pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/16 "2019-11-22T15:00:05Z")

</div>

> [@VKleinMP](#):
>
> Yes, you delivered 1.1 bulls eye. Perfect (for my actual project) material handling and you fixed a strange import problem (same geometry imported differently in different Unreal levels) I’ve also encountered in my project. BIG THANKS.

Glad I hit it!

That problem with import in different levels sounds realy strange. I did not fix anything about the actual mesh data.

---

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [November 27, 2019, 7:21pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/17 "2019-11-27T19:21:42Z")

</div>

Example project can now be found here #2]([RuntimeMeshImportExport - Import and Export runtime created static meshes using Assimp library - #2 by Rumbleball - Marketplace - Unreal Engine Forums](https://forums.unrealengine.com/unreal-engine/marketplace/1653161-runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library?p=1654091#post1654091))

---

<div class="post-metadata">

**Author:** ![Mellnik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mellnik](https://forums.unrealengine.com/u/Mellnik)\
**Post date:** [November 29, 2019, 10:59am UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/18 "2019-11-29T10:59:03Z")

</div>

When importing a model, does it also import the collision? If not then it would be kind of useless?  
Also is it possible to have it imported as a UStaticMesh instead of a procedural one?

---

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [November 29, 2019, 1:55pm UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/19 "2019-11-29T13:55:06Z")

</div>

> [@Mellnik](#):
>
> When importing a model, does it also import the collision? If not then it would be kind of useless?  
> Also is it possible to have it imported as a UStaticMesh instead of a procedural one?

ProceduralMeshComponent::CreateMeshSection has a CreateCollision checkbox. At least on the RuntimeMeshComponent there are additional functions to create Collision section. Though these would be imported as Meshes as well. You can prefix them and filter in import.

It might be possible to also create a UStaticMesh from the data, but you would need to check that for yourself. Keep in mind that there is Editor and Shipped. Things that work in the Editor might not work in a Shipping game. I gues there are reasons for why Unreal created ProceduralMeshComponent.

---

<div class="post-metadata">

**Author:** ![Rumbleball](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Post date:** [January 3, 2020, 7:23am UTC](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921/21 "2020-01-03T07:23:48Z")

</div>

~~**The plugin download is currently messed up by Epic.**~~ **Though 4.24 is released, don’t try to update. Other versions should also be affected.**

[Next page](https://forums.unrealengine.com/t/runtimemeshimportexport-import-and-export-runtime-created-static-meshes-using-assimp-library/129921.md?page=2)
