Developer Notes

The current workaround is to add a delay node after the EventBeginPlay event.

Description

The 'Draw Material to Render Target' in blueprints renders black when launched in Standalone. This is not the case when using the same blueprint and running PIE.

The interesting thing about this issue aforementioned in my repro steps, is that adding a delay node of 0.0 seconds resolves the issue.

I also tested this workaround in Dev-Main - 3141459 and the delay of 0.0 seconds does not work. I found that the threshold of the delay to allow this to work in standalone was .02 and anything below that value will cause the issue to occur.

Steps to Reproduce

1. Download and Open attached project.
2. Press PIE
3. Observe how the SM_Template_Map_Floor has the pink render target color applied.
4. Exit PIE and Play in Standalone mode.

Outcome The floor mesh does not get the render target applied and remains black.

Expected The floor mesh renders that same in Standalone as it does in PIE

Note A simple workaround is to add a delay node after the EventBeginPlay. The catch is, the delay node can be set to a duration of 0.0 seconds and it works. This is confusing and leads me to believe it is the time it takes to call and draw the render target to the object.

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

16
Login to Vote

Fixed
ComponentRendering
Affects Versions4.134.144.174.19.2
Target Fix4.23
Fix Commit5064828
Main Commit6944849
Release Commit6955818
CreatedSep 28, 2016
ResolvedFeb 19, 2019
UpdatedAug 5, 2019