# Is this a bug in UE 5.1 that when I enable nanite on Foliage with Wind, the foliage stops moving?

**URL:** <https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871>\
**Category:** Rendering\
**Tags:** unreal-engine, UE5-0, Rendering, Lighting, question\
**Created:** [November 20, 2022, 6:52am UTC](https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871 "2022-11-20T06:52:35Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mridulsrmh](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mridulsrmh/32/482434_2.png) [@Mridulsrmh](https://forums.unrealengine.com/u/Mridulsrmh)\
**Post date:** [November 20, 2022, 6:52am UTC](https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871/1 "2022-11-20T06:52:35Z")

</div>

I created a plant in speedtree modeller with wind and then I used the wind driven by WPO and it was working really good. But once I enabled nanite, the foliage became a static object with no movement at all. Is there something that I’m missing or is it a bug?

---

<div class="post-metadata">

**Author:** ![pmonga](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pmonga/32/478947_2.png) [@pmonga](https://forums.unrealengine.com/u/pmonga)\
**Post date:** [November 21, 2022, 2:47am UTC](https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871/2 "2022-11-21T02:47:44Z")

</div>

If you are using the old “Legacy” wind in Speedtree, then it won’t work. You need to use the newer “Games” wind in Speedtree, which has a different material in Unreal. Having said that, the Games wind still doesn’t work correctly with nanite because the trees exported from Speedtree use 6 UV channels but nanite meshes can only have a maximum of 4 UV channels (as far as I can tell), so only the first level of branch wind works. Also the newer Speedtree material kind of sucks in general and takes a lot of tweaking to get the wind looking correct (e.g. the wind seems about 10x too fast and the branch rotation math is incorrect).

---

<div class="post-metadata">

**Author:** ![ViktorCapU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ViktorCapU](https://forums.unrealengine.com/u/ViktorCapU)\
**Post date:** [November 21, 2022, 8:16am UTC](https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871/3 "2022-11-21T08:16:10Z")

</div>

Yes I’m having the same issue. I imported a tree from speed tree. The wind was working fine in 5.03 but when I switched to 5.1 and enabled wind it didn’t work anymore. A fix would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Starac](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/starac/32/891151_2.png) [@Starac](https://forums.unrealengine.com/u/Starac)\
**Post date:** [November 29, 2022, 2:56pm UTC](https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871/4 "2022-11-29T14:56:12Z")

</div>

I have the same problem. Speedtree trees wind does not work with nanite.  
Other, non Speedtree, trees do work.

---

<div class="post-metadata">

**Author:** ![Daondare](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Daondare](https://forums.unrealengine.com/u/Daondare)\
**Post date:** [January 6, 2023, 2:48pm UTC](https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871/5 "2023-01-06T14:48:09Z")

</div>

So i am also struggeling with the speedtree wind.  
In 5.1 the wind works fine for me when i place them as static meshes, but painted as foliage the whole tree moves around, i think the shader is not using the instance origin but the foliage actors one. I tried to find a solution in the shader networks, but i think the missing uv channels are the issue as stated above. - the static mesh viewer in unreal shows 6 uv channels in the stats window, but this is just a wrong display then?  
Anyways will this ever be adressed by either Epic oder the folks over at speedtree? - or should i just ditch that whole thing and move my stuff to pivotpainter wind for my foliage as a whole?

Also i think WPO loses precision in large levels with the speedtree wind when instances are placed kilometers away from the scene origin…oh well i am rambeling…sry…

thanks for any and all input!  
cheers

---

<div class="post-metadata">

**Author:** ![MountainKing\_1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mountainking_1/32/1105965_2.png) [@MountainKing\_1](https://forums.unrealengine.com/u/MountainKing_1)\
**Post date:** [February 8, 2023, 4:21am UTC](https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871/6 "2023-02-08T04:21:52Z")

</div>

Did you find out anything about this? I’m having that exact problem with the trees practically bending over in half with nanite enabled

---

<div class="post-metadata">

**Author:** ![Daondare](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Daondare](https://forums.unrealengine.com/u/Daondare)\
**Post date:** [May 19, 2023, 1:16pm UTC](https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871/7 "2023-05-19T13:16:46Z")

</div>

Hey sorry for the late reply ☹ but yes indeed i did somewhat at least 😃

no speedtree wind is simply broken with nanite, atleast to my knowledge. There is no fix that can be done in uneral to get it working again! I just got myself a copy of houdini indie and their labs trees with pivot painter 🙂 and this works like a charm! 🙂 though it was a lot of work, refactoring everything…

---

<div class="post-metadata">

**Author:** ![Mridulsrmh](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mridulsrmh/32/482434_2.png) [@Mridulsrmh](https://forums.unrealengine.com/u/Mridulsrmh)\
**Post date:** [May 20, 2023, 3:47pm UTC](https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871/8 "2023-05-20T15:47:19Z")

</div>

You can try pivot painter. It works perfectly fine for both nanite and non-nanite foliages. But as much as I know setting up pivot painter itself is kinda difficult and less intuitive.

---

<div class="post-metadata">

**Author:** ![Mridulsrmh](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mridulsrmh/32/482434_2.png) [@Mridulsrmh](https://forums.unrealengine.com/u/Mridulsrmh)\
**Post date:** [May 20, 2023, 3:48pm UTC](https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871/9 "2023-05-20T15:48:53Z")

</div>

Hey @Daondare ,  
can you tell me or may be send a screenshot on how you set up pivot painter in houdini indie? I have trying it for quite sometime but didn’t seem to get it working.

---

<div class="post-metadata">

**Author:** ![Daondare](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Daondare](https://forums.unrealengine.com/u/Daondare)\
**Post date:** [July 17, 2023, 10:10pm UTC](https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871/10 "2023-07-17T22:10:45Z")

</div>

@Mridulsrmh Hey sorry, for the long wait… did not come back here last few months!  
but this tutorial should show you the process of setting up and exporting a tree from houdini to unreal using pivot painter.

> **[Project Titan Tree Pivot Painter | SideFX](https://www.sidefx.com/tutorials/project-titan-tree-pivot-painter/)**
>
> Learn how to use Pivot Painter to bring your trees to life with wind effects. Pivot Painter is a SideFX Labs tool that can add effects like wind in a realistic way. Learn how to create the tree and how to get all the Pivot Painter data.

---

<div class="post-metadata">

**Author:** ![sen-sentinel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sen-sentinel](https://forums.unrealengine.com/u/sen-sentinel)\
**Post date:** [February 15, 2025, 2:46am UTC](https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871/11 "2025-02-15T02:46:05Z")

</div>

Hi there.  
I know, it’s a bit too late, but after a week of struggling with the same issue I’ve come to this solution, it works just fine for me:

1. Use Vertex Color in SpeedTree
2. Add node “Vertex Color” and “Multiply” between “Handle Camera Facing” section and “World Position Offset” output in SpeedTreeMaster

I hope this could help anyone with this trouble.

 ![Screenshot_51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/0/fc0f5fa0b23631eeb8f4f199c7539ba65d7e3829.png)

---

<div class="post-metadata">

**Author:** ![Otters-Pocket1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Otters-Pocket1](https://forums.unrealengine.com/u/Otters-Pocket1)\
**Post date:** [March 13, 2025, 3:36pm UTC](https://forums.unrealengine.com/t/is-this-a-bug-in-ue-5-1-that-when-i-enable-nanite-on-foliage-with-wind-the-foliage-stops-moving/694871/12 "2025-03-13T15:36:42Z")

</div>

I’m still having trouble with this, I can’t get the above solution to work
