# Expensive ViewExtensionPreRenderView

**URL:** <https://forums.unrealengine.com/t/expensive-viewextensionprerenderview/457112>\
**Category:** XR Development\
**Tags:** performance-issues, profiling, SSR, VR-Vive, unreal-engine, question\
**Created:** [October 18, 2019, 12:26pm UTC](https://forums.unrealengine.com/t/expensive-viewextensionprerenderview/457112 "2019-10-18T12:26:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Virtuality](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/virtuality/32/1140891_2.png) [@Virtuality](https://forums.unrealengine.com/u/Virtuality)\
**Post date:** [October 18, 2019, 12:26pm UTC](https://forums.unrealengine.com/t/expensive-viewextensionprerenderview/457112/1 "2019-10-18T12:26:16Z")

</div>

Hi,

We have a little mystery on our hands with profiling, looking at stat SceneRendering:

- ViewExtensionPreRenderView takes up 0 ms in non-VR view, our scene plays at 90FPS on a 4K resolution, all quality settings maxed out
- Using VR, we also easily reach 90FPS, _ **unless** _ we set “r.SSR.Quality 3”. Then ViewExtensionPreRenderView suddenly jumps to \>15ms. With “r.SSR.Quality 2”, ViewExtensionPreRenderView takes up \<4ms.

We’re using simple materials here (just opaque, no tessellation / bumpmap / parallax)… Total rendertime jumps to \>22ms in a simple scene – but _ **only in VR** _!

What is going on here?

---

<div class="post-metadata">

**Author:** ![LiveSimulator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LiveSimulator](https://forums.unrealengine.com/u/LiveSimulator)\
**Post date:** [November 1, 2019, 7:44pm UTC](https://forums.unrealengine.com/t/expensive-viewextensionprerenderview/457112/2 "2019-11-01T19:44:32Z")

</div>

What VR system are you using? SteamVR did some changes to its Motion Smoothing and if you have that thing turned on, it can destroy performance big time. I can’t remember exactly but I think you are doing something similar to the pipeline with “r.SSR.Quality” so when you have them both on it just leads to an order of magnitude higher performance cost

---

<div class="post-metadata">

**Author:** ![krishcrush](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@krishcrush](https://forums.unrealengine.com/u/krishcrush)\
**Post date:** [December 10, 2020, 4:56pm UTC](https://forums.unrealengine.com/t/expensive-viewextensionprerenderview/457112/3 "2020-12-10T16:56:07Z")

</div>

Hello, Did you find out how to resolve this? I’m having the same issue.

---

<div class="post-metadata">

**Author:** ![Virtuality](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/virtuality/32/1140891_2.png) [@Virtuality](https://forums.unrealengine.com/u/Virtuality)\
**Post date:** [December 11, 2020, 2:04pm UTC](https://forums.unrealengine.com/t/expensive-viewextensionprerenderview/457112/4 "2020-12-11T14:04:15Z")

</div>

Hi,

It is indeed SteamVR intervening to reach 45FPS when Motion Smoothing is turned on. Effectively it seems to delay the frame to reach the desired framerate (but as soon as your scene can reach 90FPS it should stop doing that and go back to regular).

---

<div class="post-metadata">

**Author:** ![krishcrush](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@krishcrush](https://forums.unrealengine.com/u/krishcrush)\
**Post date:** [December 11, 2020, 4:26pm UTC](https://forums.unrealengine.com/t/expensive-viewextensionprerenderview/457112/5 "2020-12-11T16:26:24Z")

</div>

Thank you so much for getting back to me. I’ve been struggling to resolve this.

How did you fix it in the end? Did you have to optimise it further or did you simply just turn off motion smoothing?

---

<div class="post-metadata">

**Author:** ![Virtuality](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/virtuality/32/1140891_2.png) [@Virtuality](https://forums.unrealengine.com/u/Virtuality)\
**Post date:** [December 12, 2020, 1:23pm UTC](https://forums.unrealengine.com/t/expensive-viewextensionprerenderview/457112/6 "2020-12-12T13:23:23Z")

</div>

Well in the end it’s more of a feature than a bug, so there’s no need to resolve. In my case I optimized until I didn’t drop below 90FPS anymore - but in other cases you can perhaps just leave it as-is.
