# Reallocation rendertarget in VR with scenecapturer

**URL:** <https://forums.unrealengine.com/t/reallocation-rendertarget-in-vr-with-scenecapturer/456228>\
**Category:** XR Development\
**Tags:** scenecapture2d, UE4-23, unreal-engine, question\
**Created:** [September 30, 2019, 11:41am UTC](https://forums.unrealengine.com/t/reallocation-rendertarget-in-vr-with-scenecapturer/456228 "2019-09-30T11:41:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_b2698e93](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b2698e93](https://forums.unrealengine.com/u/anonymous_user_b2698e93)\
**Post date:** [September 30, 2019, 11:41am UTC](https://forums.unrealengine.com/t/reallocation-rendertarget-in-vr-with-scenecapturer/456228/1 "2019-09-30T11:41:42Z")

</div>

There was an issue submitted here: [Unreal Engine Issues and Bug Tracker (UE-59090)](https://issues.unrealengine.com/issue/UE-59090)  
The replication is still the same:  
Basically, if you have a SceneCapture2D capturing to a render target, it will reallocate the scene render targets constantly between the scenecapturer resolution and your actual HMD resolution. This tanks the frame rate  
Note: this doesn’t happen in editor only in builds

Is there a reason why this has been changed to a non-issue?  
If so what is the reason or how are we able to resolve it?  
Currently, I’m working on version 4.23 build from the release branch from github.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b2698e93](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b2698e93](https://forums.unrealengine.com/u/anonymous_user_b2698e93)\
**Post date:** [September 30, 2019, 12:18pm UTC](https://forums.unrealengine.com/t/reallocation-rendertarget-in-vr-with-scenecapturer/456228/2 "2019-09-30T12:18:35Z")

</div>

Just as the sake of completion:  
I overlooked the developer notes on the top of the thread where next is stated:

The correct solution for this is to simply set r.SceneRenderTargetResizeMethod to 2 instead of the default of 0 when there are intermediate render targets used for scene captures.
