# MetaHuman with VR settings crashes edtior with DepthStencilRenderTarget.DepthStencilTarget-\>GetNumSamples() == NumSamples

**URL:** <https://forums.unrealengine.com/t/metahuman-with-vr-settings-crashes-edtior-with-depthstencilrendertarget-depthstenciltarget-getnumsamples-numsamples/720839>\
**Category:** XR Development\
**Tags:** vr-template, Forward-Rendering, unreal-engine, crash\
**Created:** [December 3, 2022, 11:35pm UTC](https://forums.unrealengine.com/t/metahuman-with-vr-settings-crashes-edtior-with-depthstencilrendertarget-depthstenciltarget-getnumsamples-numsamples/720839 "2022-12-03T23:35:33Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![tekmoh777](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tekmoh777/32/914741_2.png) [@tekmoh777](https://forums.unrealengine.com/u/tekmoh777)\
**Post date:** [March 27, 2024, 10:25pm UTC](https://forums.unrealengine.com/t/metahuman-with-vr-settings-crashes-edtior-with-depthstencilrendertarget-depthstenciltarget-getnumsamples-numsamples/720839/5 "2024-03-27T22:25:27Z")

</div>

Hello seungmki, i have the same error message than you. I have opened a thread about the problem 4 days ago. And SupportiveEntity is trying to reproduce the bug.  
Can you check my thread if you can add some information ?  
Or perhaps you can reproduce the bug ?

> [@VR - Sphere trace disrupts the camera, and doesnt work](https://forums.unrealengine.com/t/vr-sphere-trace-disrupts-the-camera-and-doesnt-work/1770548/7):
>
> I have not set up debug lines manually. Maybe there is debug line from VR template ? Where should i look ? Regarding the specs, i have reproduced the same crash on a second PC, it crashed and i sent the report. My specs are : cpu : i7 11390H gpu : Mesa Intel Xe Graphicd Ram : 16gb The other pc is like : cpu : i5 3570 gpu : nvidia 960 ram : 8gb

---

_[View the full topic](https://forums.unrealengine.com/t/metahuman-with-vr-settings-crashes-edtior-with-depthstencilrendertarget-depthstenciltarget-getnumsamples-numsamples/720839)._
