Reallocating scene render target constantly. Why?

When I load into a level my materials are constantly resizing(?) and losing occlusion and such for a frame. This happens before any widgets are loaded or anything is run (there is a delay for everything setup). You can cruise around in the spectator pawn with the textures freaking out!

  • I have only seen this happen in shipping and development builds (never in editor, not tried in debug)
  • Have seen it on multiple computers with different hardware
  • This will always happen the first time the level loads and 90% of the times the level is loaded afterwards
  • I have not seen this in other levels using the same materials and textures

My log shows this every 2 or 3 frames and it will continue indefinitely:

[2016.09.03-04.53.26:815][966]LogRenderer: Reallocating scene render targets to support 1284x724 (Frame:1972).
[2016.09.03-04.53.26:850][967]LogRenderer: Reallocating scene render targets to support 2048x2048 (Frame:1972).
[2016.09.03-04.53.26:949][968]LogRenderer: Reallocating scene render targets to support 1284x724 (Frame:1974).
[2016.09.03-04.53.26:978][969]LogRenderer: Reallocating scene render targets to support 2048x2048 (Frame:1974).
[2016.09.03-04.53.27:063][970]LogRenderer: Reallocating scene render targets to support 1284x724 (Frame:1976).
[2016.09.03-04.53.27:100][971]LogRenderer: Reallocating scene render targets to support 2048x2048 (Frame:1976).
[2016.09.03-04.53.27:136][972]LogRenderer: Reallocating scene render targets to support 1284x724 (Frame:1978).
[2016.09.03-04.53.27:188][973]LogRenderer: Reallocating scene render targets to support 2048x2048 (Frame:1978).
[2016.09.03-04.53.27:269][974]LogRenderer: Reallocating scene render targets to support 1284x724 (Frame:1980).
[2016.09.03-04.53.27:301][975]LogRenderer: Reallocating scene render targets to support 2048x2048 (Frame:1980).

Small example video:

Any ideas on what could be causing this? Any more information I could provide here?

Hi ,

That message will pop up if you have two or more 2d scene captures drawing to the same render target. The flickering is caused by it swapping between the two visual inputs as it can’t decide which one to draw. Check your map and make sure you only have 1 2d scene capture drawing to a render target at a time.

Hope that helps,

Hi Ed,

for the reply.

There are no capture components in the level but one is a component of an actor spawned by the game state on begin play (I have also tried placing the actor in the level instead of spawning it). This has a texture target set that is used by a material which is placed in several different widgets.

The actor with the capture component is spawned only on the server and replicated (am using listen server). I have tried disabling replication as well. The capture component is also set to capture every frame (if not it shows nothing).

Do the multiple uses of the material with the render target as a texture cause this conflict? Can a widget size cause the 1284x724 numbers (the render target is set to 2048x2048)? Could the replication be causing the problem?

If I remove the component completely is goes away but I am trying to use the capture to show a live image in the widgets. I have also tried to disable/enable replication on that component in the constructor of the actor (no change).

Any ideas?

!

Sent with link!

Hey ,

While testing I noticed this issue didn’t occur in 4.13 so it has been resolved already.While this is an issue in 4.12.5 a bug report wont be necessary. The only known work around if you want to stay in 4.12.5 is to lower the render target size below 700 x 700 in the screenshot I have it set to 512 x 512.

Hope that helps,

immensely :slight_smile:

immensely :slight_smile:

Still seeing this in UE4.21

I have this trouble on ue 4.24 with SteamVR and SceneCaptureComponent2D to use as camera for spectator texture. When I run project under editor - everything ok, but when I run build package - every frame I see this:

[2020.08.03-06.55.45:814][ 28]LogRenderer: Reallocating scene render targets to support 3648x2028 Format 10 NumSamples 1 (Frame:29).
[2020.08.03-06.55.45:934][ 29]LogRenderer: Reallocating scene render targets to support 1920x1080 Format 10 NumSamples 1 (Frame:30).

I made empty scene with only one pawn (relative SceneCaptureComponent2D inside), but it’s not helps. It’s looks like steamVR make own render target, but I can’t find anything about it.

Does anybody has any idea?

STILL IN TROUBLE :frowning: :frowning: :frowning:
AND HAVE NO ANSWER

Try lowering the render target size.

My render target is 1920x1080, is it too large?

Not sure but in previous engine versions lowering the render target helped. Try something like 960x540

Sad. It does not help… But when playing in editor (in any run ops) any RT works fine…

ue4.24, work only when make render target size exactly equal viewport size * vr.PixelDensity (in my example from log 3648x2028)… if use any other size for any SceneCapture2D on level map - everything is BAD… What’s going on???

UE 4.25 - same problem. Does no one use VR with render target? Looks very strange…

Does nobody has any idea?

Try to move up this topic again.
This problem is really ACTUAL in 4.23, 4.24, 4.25.

Hey flash, I marked this as resolved. My specific question was answered and it should have been marked a long time ago.

Try starting a new post specific to using VR/AR and the resolutions you are trying to reach. I don’t think this post will get any more visibility considering it’s age and all the answers and comments.

Hey,
if anyone still getting this message in editor, try this:

Disable the “Real-Time Thumbnails” at the bottom right corner, view options. (content browser)

In my case, the log spam occured while the cursor were inside in any content browser.
(UE-4.27.2)

1 Like