# \[TUTORIAL\] Using Assimp with Unreal Engine

**URL:** <https://forums.unrealengine.com/t/tutorial-using-assimp-with-unreal-engine/100155>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [September 20, 2017, 4:44pm UTC](https://forums.unrealengine.com/t/tutorial-using-assimp-with-unreal-engine/100155 "2017-09-20T16:44:56Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![anonymous\_user\_514d3cd3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_514d3cd3](https://forums.unrealengine.com/u/anonymous_user_514d3cd3)\
**Post date:** [April 18, 2021, 10:00pm UTC](https://forums.unrealengine.com/t/tutorial-using-assimp-with-unreal-engine/100155/22 "2021-04-18T22:00:09Z")

</div>

I’m having the same issue, did you ever figure it out?

---

<div class="post-metadata">

**Author:** ![Cektantwork](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cektantwork/32/717411_2.png) [@Cektantwork](https://forums.unrealengine.com/u/Cektantwork)\
**Post date:** [December 10, 2021, 3:43pm UTC](https://forums.unrealengine.com/t/tutorial-using-assimp-with-unreal-engine/100155/23 "2021-12-10T15:43:36Z")

</div>

Anybody can say how compile import/export .so file from assimp 5.0 or anybody can send link where i can download .so ?

---

<div class="post-metadata">

**Author:** ![andres\_echo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@andres\_echo](https://forums.unrealengine.com/u/andres_echo)\
**Post date:** [May 11, 2022, 2:02am UTC](https://forums.unrealengine.com/t/tutorial-using-assimp-with-unreal-engine/100155/24 "2022-05-11T02:02:17Z")

</div>

Just chiming in to say THANK YOU for this guide. People like you make the dev world go 'round. 😀

---

<div class="post-metadata">

**Author:** ![LazuliDev1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LazuliDev1](https://forums.unrealengine.com/u/LazuliDev1)\
**Post date:** [February 14, 2023, 11:13pm UTC](https://forums.unrealengine.com/t/tutorial-using-assimp-with-unreal-engine/100155/25 "2023-02-14T23:13:04Z")

</div>

Hi, I followed the guide but I ran into some issues.

1. I got an error that Assimp/Config.h wasn’t found. It seems like the Include in the Source folder and the include in the generated folder differ; I found the file in the generated folder.

2. There seem to be Syntax errors in the code acquired from the OP; did Unreal change its dereferencing syntax at some point? Because code like:

```auto
processNode(node->mChildren*, scene);

```

Gives an error, I assume its meant to be:

```auto
processNode(*node->mChildren, scene);

```

?

1. VS also complained that it expected #include “AssimpInterface.h” to be the first include.

2. There’s a sequence of code here which seemed to be referencing the i-th element but wasn’t?

```auto
	for (unsigned int i = 0; i < mesh->mNumVertices; i++) 
	{
		FVector vertex, normal;
		// process vertex positions, normals and UVs
		vertex.X = mesh->mVertices*.x;
		vertex.Y = mesh->mVertices*.y;
		vertex.Z = mesh->mVertices*.z;

		normal.X = mesh->mNormals*.x;
		normal.Y = mesh->mNormals*.y;
		normal.Z = mesh->mNormals*.z;

		// if the mesh contains tex coords
		if (mesh->mTextureCoords[0]) 
		{
			FVector2D uvs;
			uvs.X = mesh->mTextureCoords[0]*.x;
			uvs.Y = mesh->mTextureCoords[0]*.y;
			_uvs[_meshCurrentlyProcessed].Add(uvs);
		}
		else 
		{
			_uvs[_meshCurrentlyProcessed].Add(FVector2D(0.f, 0.f));
		}
		_vertices[_meshCurrentlyProcessed].Add(vertex);
		_normals[_meshCurrentlyProcessed].Add(normal);
	}

```

Which is a little strange, I don’t think C++ has this concept for iterating through arrays?

---

<div class="post-metadata">

**Author:** ![Vinkunja](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vinkunja](https://forums.unrealengine.com/u/Vinkunja)\
**Post date:** [February 17, 2025, 8:13am UTC](https://forums.unrealengine.com/t/tutorial-using-assimp-with-unreal-engine/100155/26 "2025-02-17T08:13:13Z")

</div>

This is a very good tutorial on how to build assimp. To add on how to use the library, a plugin with the very simple use case to load only one mesh and package it as a Unreal plugin for 5.3 an be found here on Github: [Assimp2UnrealExample](https://github.com/GitRepJo/Assimp2UnrealExample)

[Previous page](https://forums.unrealengine.com/t/tutorial-using-assimp-with-unreal-engine/100155.md?page=1)
