# 4.19p4 Foliage is black in editor

**URL:** <https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744>\
**Category:** Rendering\
**Tags:** unreal-engine, Foliage, bug-report, editor, question\
**Created:** [February 8, 2018, 10:37am UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744 "2018-02-08T10:37:36Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gavin1969](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gavin1969](https://forums.unrealengine.com/u/Gavin1969)\
**Post date:** [February 8, 2018, 10:37am UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/1 "2018-02-08T10:37:36Z")

</div>

Hi

As shown in the screenshot, after upgrading a project from 4.18 to 4.19p4 the foliage (transparent materials?) are displayed/lit black in the editor, but are fine PIE. This happens in lit or unlit modes. Foliage has been completely OK in previous versions of the engine (4.18 and earlier).

Do I need to change a new setting somewhere?

Thanks

Gavin

 ![229941-screenshot00033.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/7/9c741941e82c1d6882bb8428e5e33b92147d102d.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_A](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeff\_A](https://forums.unrealengine.com/u/Jeff_A)\
**Post date:** [February 12, 2018, 1:53pm UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/2 "2018-02-12T13:53:48Z")

</div>

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

[https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form](https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form)

Thanks

---

<div class="post-metadata">

**Author:** ![Gavin1969](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gavin1969](https://forums.unrealengine.com/u/Gavin1969)\
**Post date:** [February 12, 2018, 2:03pm UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/3 "2018-02-12T14:03:18Z")

</div>

Ah, I hadn’t noticed that. Thanks will do.

---

<div class="post-metadata">

**Author:** ![Gavin1969](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gavin1969](https://forums.unrealengine.com/u/Gavin1969)\
**Post date:** [February 22, 2018, 10:58am UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/4 "2018-02-22T10:58:49Z")

</div>

Just to say this is still happening in 4.19 preview 5.  
I’ve replied to email epic sent asking for repo steps, which can recreate the problem form a 4.18 upgraded to 4.19 project, but I’ve had no reply to indicate this issue is being investigated.  
Do I need to re-submit the issue as a bug?

To reproduce –

Create a FirstPerson based Template project in 4.18  
Then import the Broadload\_Desktop.srt speedtree model from the Free SpeedTree Samples for UT4 pack (from [Speedtree.com](http://Speedtree.com))  
Add speedtree model to foliage system, and paint several models onto floor in FirstPersonExampleMap.  
Build lighting, all is still good.  
Close the project, and open the 4.19p4 editor.  
Open a copy of the 4.18 project, fixing any compiler errors along the way.  
Transparent leaves from Speedtree models are now black in the editor, but OK PIE.  
Rebuilding lighting in 4.19 after loading doesn’t fix the black on trees in editor.

Level was in Volumetric Lightmap mode, still happens if lighting rebuilt in sparse mode.

---

<div class="post-metadata">

**Author:** ![rdashkevicz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rdashkevicz](https://forums.unrealengine.com/u/rdashkevicz)\
**Post date:** [February 23, 2018, 3:23am UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/5 "2018-02-23T03:23:54Z")

</div>

There will be a speed tree color node in the materials. Workaround it to bypass that node until its fixed. Looks like they tweaked some of the nodes for the new speedtree 8 modeler and broke backward compatibility. Looks like the wind is a little different too. I think I like the new wind better.

---

<div class="post-metadata">

**Author:** ![Gavin1969](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gavin1969](https://forums.unrealengine.com/u/Gavin1969)\
**Post date:** [February 25, 2018, 10:43am UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/6 "2018-02-25T10:43:00Z")

</div>

Ah yes, it does appear the SpeedTreeColorVariation node is returning black when editing, but is OK when PIE, on an upgraded project.  
Odd that this node should behave differently in these use cases though, not sure what the logic of that could be.

---

<div class="post-metadata">

**Author:** ![Gavin1969](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gavin1969](https://forums.unrealengine.com/u/Gavin1969)\
**Post date:** [March 6, 2018, 10:23pm UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/7 "2018-03-06T22:23:27Z")

</div>

Just to confirm this is still happening in 4.19 preview 6.

I made Speedtree aware of the issue a couple of weeks ago.

No replies to my emails from Epic bug reporting.

Others are seeing the same problem, as reported on the Speedtree forum.

Really hope this will be fixed before the release version of 4.19, would love to be able to upgrade my project from 4.18.

---

<div class="post-metadata">

**Author:** ![looter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/looter/32/914507_2.png) [@looter](https://forums.unrealengine.com/u/looter)\
**Post date:** [March 15, 2018, 1:36pm UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/8 "2018-03-15T13:36:35Z")

</div>

Same issue here, in 4.19.0 release

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33cc195f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33cc195f1](https://forums.unrealengine.com/u/anonymous_user_33cc195f1)\
**Post date:** [March 18, 2018, 11:28am UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/9 "2018-03-18T11:28:09Z")

</div>

Try putting in a piece of foliage that appears to have this issue in editor then CTRL+Z. This should fix the issue in editor for the current session.

---

<div class="post-metadata">

**Author:** ![bruno\_pierron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bruno\_pierron](https://forums.unrealengine.com/u/bruno_pierron)\
**Post date:** [March 19, 2018, 8:05pm UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/10 "2018-03-19T20:05:32Z")

</div>

I think the problem comes from the perInstance node in the material editor.

---

<div class="post-metadata">

**Author:** ![Inph1del](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/inph1del/32/1148459_2.png) [@Inph1del](https://forums.unrealengine.com/u/Inph1del)\
**Post date:** [April 9, 2018, 12:41pm UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/11 "2018-04-09T12:41:56Z")

</div>

I’m having issues with foliage using perinstance and world offset to set it up so flat planes always face the camera. In editor theybdisapear and are all black in game. Sometimes they disappear and there will be flickering fb which I assume is the offset no longer working.

[Odd flickering in viewport 4.19 - Rendering - Unreal Engine Forums](https://answers.unrealengine.com/questions/775416/odd-flickering-in-viewport-419.html) Is my ah post

---

<div class="post-metadata">

**Author:** ![Gavin1969](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gavin1969](https://forums.unrealengine.com/u/Gavin1969)\
**Post date:** [April 20, 2018, 1:43pm UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/12 "2018-04-20T13:43:44Z")

</div>

Yes, it’s still happening in 4.19.1

---

<div class="post-metadata">

**Author:** ![Gavin1969](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gavin1969](https://forums.unrealengine.com/u/Gavin1969)\
**Post date:** [April 20, 2018, 1:44pm UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/13 "2018-04-20T13:44:51Z")

</div>

yes, that’s been noted in my post on the Speedtree forum… Still no fix though…

---

<div class="post-metadata">

**Author:** ![Rob\_McLachlan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rob\_McLachlan](https://forums.unrealengine.com/u/Rob_McLachlan)\
**Post date:** [May 2, 2018, 1:27pm UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/14 "2018-05-02T13:27:32Z")

</div>

Hi as per this thread:

[https://forums.unrealengine.com/development-discussion/content-creation/1451827-speedtrees-displaying-black](https://forums.unrealengine.com/development-discussion/content-creation/1451827-speedtrees-displaying-black)

This problem was fixed for me by replacing the ‘Normalize’ node in the Speedtree Color Variation material function with ‘SafeNormalize’.

---

<div class="post-metadata">

**Author:** ![Gavin1969](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gavin1969](https://forums.unrealengine.com/u/Gavin1969)\
**Post date:** [May 2, 2018, 7:58pm UTC](https://forums.unrealengine.com/t/4-19p4-foliage-is-black-in-editor/416744/15 "2018-05-02T19:58:11Z")

</div>

Just to confirm this issue is now fixed in 4.19.2!

Fixed! UE-56272 Incorrect foliage color in editor preview when using PerInstanceRandom node

Thanks!
