# Community Tutorial: AnimToTexture Plugin, How to Use it to make Vertex Animation Textures for crowds

**URL:** <https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648>\
**Category:** Tutorial & Course Discussions\
**Tags:** unreal-engine\
**Created:** [January 10, 2023, 11:50pm UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648 "2023-01-10T23:50:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![kromond](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kromond/32/603777_2.png) [@kromond](https://forums.unrealengine.com/u/kromond)\
**Post date:** [January 10, 2023, 11:50pm UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/1 "2023-01-10T23:50:32Z")

</div>

This video shows how to use the AnimToTexture plugin released with Unreal Engine 5 City Sample (and now part of UE 5.1). The video uses an Editor Utility tool which is available for free at the link below. Add the UASSET to your UE 5.1 project and use it as is or as an example for your own tool. Also provided is a basic crowd instancer blueprint which will scatter a static mesh with VAT texture and put a random animation on each instance. The video walks through both of these blueprints which could be enough to make your own editor utility and instancing blueprint.  
The resulting motion has some stepping issue which I have not yet solved. This is mentioned in the video. When I find a fix I’ll update here  
[GitHub - kromond/AnimToTextureHelpers](https://github.com/kromond/AnimToTextureHelpers)  
  
[https://dev.epicgames.com/community/learning/tutorials/3xKm/unreal-engine-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds](https://dev.epicgames.com/community/learning/tutorials/3xKm/unreal-engine-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds)

---

<div class="post-metadata">

**Author:** ![lumbabumba](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lumbabumba](https://forums.unrealengine.com/u/lumbabumba)\
**Post date:** [January 22, 2023, 5:01pm UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/2 "2023-01-22T17:01:22Z")

</div>

Ty so much for the tutorial.  
I am getting everything right, but I cant get rid of the shaky animation. Did you find a way to have clean animations?

---

<div class="post-metadata">

**Author:** ![DaftAlexPunk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DaftAlexPunk](https://forums.unrealengine.com/u/DaftAlexPunk)\
**Post date:** [January 25, 2023, 7:44am UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/3 "2023-01-25T07:44:35Z")

</div>

Hi Kromond,

Thanks for you help.  
I’m Alexandre P. the one with the comment on Youtube for Git LFS.  
I’ve forked your project on GitHub as i’d like to make it work with a diverse crowd, so using an array of Static Meshes and Dataasset.

I’ve updated yours by removing a useless for loop, and added a BP with 2 declared SM & DA which works.

Unfortunately, for my BP which expose arrays of SM and DA: all my SM are sync, and play the full animation loop. I’ve spend hours on trying to understand why and fix, but i cannot.

[AlexandrePoisson/AnimToTextureHelpers: Trials (github.com)](https://github.com/AlexandrePoisson/AnimToTextureHelpers)

---

<div class="post-metadata">

**Author:** ![KryogenicGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kryogenicgames/32/1201049_2.png) [@KryogenicGames](https://forums.unrealengine.com/u/KryogenicGames)\
**Post date:** [January 27, 2023, 7:55am UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/4 "2023-01-27T07:55:54Z")

</div>

Looks very interesting. Would this be possible to use for destructing buildings instead of generating new geometry, thank you chaps

---

<div class="post-metadata">

**Author:** ![kromond](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kromond/32/603777_2.png) [@kromond](https://forums.unrealengine.com/u/kromond)\
**Post date:** [January 28, 2023, 9:38pm UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/5 "2023-01-28T21:38:42Z")

</div>

Hi @DaftAlexPunk , I replied to the github PR also. I was not able to set the custom data in the main loop, it just didn’t work as you are seeing. When I moved it to it’s own loop run after all the instances have been created, I was able to set the custom data values for each instance. Try adding that loop back

---

<div class="post-metadata">

**Author:** ![kromond](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kromond/32/603777_2.png) [@kromond](https://forums.unrealengine.com/u/kromond)\
**Post date:** [January 28, 2023, 9:43pm UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/6 "2023-01-28T21:43:09Z")

</div>

yes the technique has been used for destruction animation. You would use the vertex animation approach rather than the bone animation. Check this [Destruction FX for Realtime | Part 3 | Implement FX in UE4 on Vimeo](https://vimeo.com/445444302)

---

<div class="post-metadata">

**Author:** ![steveontheweb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/steveontheweb/32/626745_2.png) [@steveontheweb](https://forums.unrealengine.com/u/steveontheweb)\
**Post date:** [February 27, 2023, 6:28pm UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/7 "2023-02-27T18:28:03Z")

</div>

Thanks for the post! Not sure if you’ve already figured this out, but the “choppy” animations is coming from the texture format R8G8B8A8 instead of FloatRGBA. You can resolve this by ensuring that you have sixteen bit precision selected and the Force Power of Two option checked.

---

<div class="post-metadata">

**Author:** ![Pioussin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pioussin/32/634526_2.png) [@Pioussin](https://forums.unrealengine.com/u/Pioussin)\
**Post date:** [March 21, 2023, 4:41pm UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/8 "2023-03-21T16:41:18Z")

</div>

Hi @steveontheweb, thanks for the solution about positions, do you have any idea why Force Power of Two is required? I don’t see why we need this

---

<div class="post-metadata">

**Author:** ![kromond](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kromond/32/603777_2.png) [@kromond](https://forums.unrealengine.com/u/kromond)\
**Post date:** [April 27, 2023, 3:48am UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/9 "2023-04-27T03:48:18Z")

</div>

Thanks @stevenotheweb, I learned that. It was the force power of two option that I didn’t have. I did not realize that was a requirement for writing a 16bit texture

---

<div class="post-metadata">

**Author:** ![kromond](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kromond/32/603777_2.png) [@kromond](https://forums.unrealengine.com/u/kromond)\
**Post date:** [April 27, 2023, 3:54am UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/10 "2023-04-27T03:54:51Z")

</div>

I am no expert, but when I was trying to figure this steppy motion problem out my colleague and I stepped through the file write operation with a debugger. It has to do with the compression pipeline. It can’t compress a file that is not power of two and this would make it bump back to 8 bit. We thought it had something to do with mips (and maybe it does?) but I didn’t realized the power of 2 connection. Someone in the comments pointed it out

---

<div class="post-metadata">

**Author:** ![voicu4321](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@voicu4321](https://forums.unrealengine.com/u/voicu4321)\
**Post date:** [June 2, 2023, 9:27pm UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/11 "2023-06-02T21:27:14Z")

</div>

hello kromond, i was wondering if there is any way to attach static meshes to the sockets of the moving static mesh?

---

<div class="post-metadata">

**Author:** ![kromond](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kromond/32/603777_2.png) [@kromond](https://forums.unrealengine.com/u/kromond)\
**Post date:** [July 3, 2023, 9:18pm UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/12 "2023-07-03T21:18:44Z")

</div>

Well hmm… I don’t think so. Static meshes don’t have sockets, so it would need to be attached to a vertex

---

<div class="post-metadata">

**Author:** ![Eegii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eegii](https://forums.unrealengine.com/u/Eegii)\
**Post date:** [July 18, 2023, 12:04am UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/13 "2023-07-18T00:04:14Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/9/9d9f13f91f8471686c710bf612683f38a27f692b.png)  
Hey man, i just can`t get it to work. What is this Error. Pls Really need your help

---

<div class="post-metadata">

**Author:** ![Eegii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eegii](https://forums.unrealengine.com/u/Eegii)\
**Post date:** [July 18, 2023, 1:11am UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/14 "2023-07-18T01:11:37Z")

</div>

This error is UE5.2. in 5.2 there is no Param names node.

---

<div class="post-metadata">

**Author:** ![Samani9410](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Samani9410](https://forums.unrealengine.com/u/Samani9410)\
**Post date:** [July 26, 2023, 1:11pm UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/15 "2023-07-26T13:11:54Z")

</div>

I have the same issue, also working on 5.2 commenting here to see if anyone came with a solution.

---

<div class="post-metadata">

**Author:** ![imtrobin2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@imtrobin2](https://forums.unrealengine.com/u/imtrobin2)\
**Post date:** [July 27, 2023, 9:58am UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/16 "2023-07-27T09:58:05Z")

</div>

Same here, there is no way to generate the texture in 5.2.

---

<div class="post-metadata">

**Author:** ![Samani9410](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Samani9410](https://forums.unrealengine.com/u/Samani9410)\
**Post date:** [July 27, 2023, 12:10pm UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/17 "2023-07-27T12:10:58Z")

</div>

Does anyone know if there is a way of using this system with Niagara?

---

<div class="post-metadata">

**Author:** ![tariqaneeq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tariqaneeq](https://forums.unrealengine.com/u/tariqaneeq)\
**Post date:** [August 31, 2023, 3:34am UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/18 "2023-08-31T03:34:57Z")

</div>

its rare to find solutions regarding unreal. a few nodes are missing from the library in ue5.2 altogether. i hope they someday fix them

---

<div class="post-metadata">

**Author:** ![tariqaneeq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tariqaneeq](https://forums.unrealengine.com/u/tariqaneeq)\
**Post date:** [August 31, 2023, 5:39am UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/19 "2023-08-31T05:39:37Z")

</div>

Hi Alex,  
i was really struggling with the same issue of crowds and your blueprint was really helpfull and i guess it can be used for more than 2 static meshes i guess. you two are real heros. there was a little thing i want to point out, a lot of the meshes werent animating as maybe the instance count doesn’t give you index of each instance so here is a simple fix for it.

![Bp_Crowd2SM_fix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/1/2b12011aba3e3140cf3a248bacc27f4052e8ba10.png)

---

<div class="post-metadata">

**Author:** ![n00b\_013](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/n00b_013/32/631138_2.png) [@n00b\_013](https://forums.unrealengine.com/u/n00b_013)\
**Post date:** [September 18, 2023, 9:54pm UTC](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648/20 "2023-09-18T21:54:11Z")

</div>

Hi all;

First off, thanks for the great share!! This tutorial is so helpful!! Especially combined with the BP in your Github! Top!

Now; how can we get this working on mobile?? I baked the animations using the AnimToTexture plugin following your tutorial, even the same mesh from Mixamo… But, when I test the \*.apk on device (and in editor AS device), all the animated zombies are in T-pose ☹

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/4/e8492aba49bb09745661d1e2971fc0a906b363f1.jpeg)

Is there any specific settings to be turned on/off for mobile?? Anyone has this working on mobile?

[Next page](https://forums.unrealengine.com/t/community-tutorial-animtotexture-plugin-how-to-use-it-to-make-vertex-animation-textures-for-crowds/746648.md?page=2)
