# How to make texture animate with mass spoawner?

**URL:** <https://forums.unrealengine.com/t/how-to-make-texture-animate-with-mass-spoawner/561579>\
**Category:** Character & Animation\
**Tags:** unreal-engine, UE5-0, question\
**Created:** [May 20, 2022, 1:23am UTC](https://forums.unrealengine.com/t/how-to-make-texture-animate-with-mass-spoawner/561579 "2022-05-20T01:23:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayo2j](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jayo2j](https://forums.unrealengine.com/u/jayo2j)\
**Post date:** [May 20, 2022, 1:23am UTC](https://forums.unrealengine.com/t/how-to-make-texture-animate-with-mass-spoawner/561579/1 "2022-05-20T01:23:49Z")

</div>

Hello, I have vertex animated texture , when I place a mesh alone using that texture, it is animated (vertex animation) however when I use the mass spawner, the vertexes are not animating anymore, heck, the materials are not even rendering when I add crowd representation… I get the default pose manequin with the default grid material (lack of material default grid), does anyone knows how can I make the mass entity trait data asset accept the material?

If I create an actor, set that mesh as the root and use that inthe mass spawner it works but not if i just get the mesh

---

<div class="post-metadata">

**Author:** ![Leroyyyy231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Leroyyyy231](https://forums.unrealengine.com/u/Leroyyyy231)\
**Post date:** [July 10, 2022, 5:52am UTC](https://forums.unrealengine.com/t/how-to-make-texture-animate-with-mass-spoawner/561579/2 "2022-07-10T05:52:12Z")

</div>

All of the different mass processors that might affect this makes it hard to know immediately what’s causing this, but it’s likely related to the UMassProcessor\_CrowdVisualizationCustomData (If you’re in City Sample project) or UMassCrowdUpdateISMVertexAnimationProcessor. Specifically UMassProcessor\_CrowdVisualizationCustomData has assumptions about the animations used in City Sample I believe and won’t work well for other animations. You might have to make your own similar processor (and make sure both aren’t running e.g. via tag filtering). I’d recommend using breakpoints in Visual Studio in those to understand how everything is connected.

Also this CSV I made of all the mass processors and fragments in City Sample which might help: [Script to better understand MassEntity Processor and Fragment dependencies](https://forums.unrealengine.com/t/script-to-better-understand-massentity-processor-and-fragment-dependencies/592041)

---

<div class="post-metadata">

**Author:** ![Leroyyyy231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Leroyyyy231](https://forums.unrealengine.com/u/Leroyyyy231)\
**Post date:** [July 10, 2022, 6:09am UTC](https://forums.unrealengine.com/t/how-to-make-texture-animate-with-mass-spoawner/561579/3 "2022-07-10T06:09:05Z")

</div>

Actually take a look at UCitySampleCrowdVisualizationFragmentInitializer::Execute. It overwrites the StaticMeshDescIndex. This will only run if your data asset is configured to have City Sample Crowd Visualization Fragment under the “Assorted Fragments” Trait (which is true in City Sample).
