# Scene Render Component renders black on Android/Quest in 4.25

**URL:** <https://forums.unrealengine.com/t/scene-render-component-renders-black-on-android-quest-in-4-25/472857>\
**Category:** Mobile\
**Tags:** Scene-Capture, unreal-engine, Android, question\
**Created:** [October 13, 2020, 2:02pm UTC](https://forums.unrealengine.com/t/scene-render-component-renders-black-on-android-quest-in-4-25/472857 "2020-10-13T14:02:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShaneC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ShaneC](https://forums.unrealengine.com/u/ShaneC)\
**Post date:** [October 13, 2020, 2:02pm UTC](https://forums.unrealengine.com/t/scene-render-component-renders-black-on-android-quest-in-4-25/472857/1 "2020-10-13T14:02:33Z")

</div>

Hi,  
We have recently upgraded our 4.21.2 project to 4.25.3.  
In our project, we use a Scene Capture Component 2D to capture a view of the scene and then use the render target to display the feed. On the Quest/Android, we are encountering an issue where the render target does not render the view, and appears as solid black.

We originally had this issue in 4.21.2, and it was resolved by adding the following to SetupViewFamilyForSceneCapture(…) in SceneCaptureRendering.cpp, just prior to adding the view to the ViewFamily:

```
	View->bIsInstancedStereoEnabled = false;
	View->bIsMultiViewEnabled = false;
	View->bIsMobileMultiViewEnabled = false;
	View->bIsMobileMultiViewDirectEnabled = false;

```

Since View-\>bIsMobileMultiViewDirectEnabled does not exist in 4.25, i commented this line out, but added the above logic the same as I had in 4.21.2, but nothing renders.  
Other than the upgrade, i can not think of any change that would cause this problem.  
Any help would be most appreciated, as it is a vital component of our game.

The following are the rendering settings used by the project.

instanced stereo enabled  
mobile HDR disabled  
Mobile Multi-View enabled

Thank you.  
Let me know if you need any more information.

Regards,  
Shane

---

<div class="post-metadata">

**Author:** ![RealRenders](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RealRenders](https://forums.unrealengine.com/u/RealRenders)\
**Post date:** [October 22, 2020, 6:35pm UTC](https://forums.unrealengine.com/t/scene-render-component-renders-black-on-android-quest-in-4-25/472857/2 "2020-10-22T18:35:03Z")

</div>

Hi Shane,

I have the same problem. I am woking with 4.22 and cannot move to 4.25 riight now due to code incompatibility. I added the lines you mentioned to the .cpp with no result. I was wondering If I had added them in the right place.

```
View->bIsInstancedStereoEnabled = false;
View->bIsMultiViewEnabled = false;
View->bIsMobileMultiViewEnabled = false;
View->bIsMobileMultiViewDirectEnabled = false;
ViewFamily.Views.Add(View);

View->StartFinalPostprocessSettings(SceneCaptureViewInfo.ViewLocation);
View->OverridePostProcessSettings(*PostProcessSettings, PostProcessBlendWeight);
View->EndFinalPostprocessSettings(ViewInitOptions);

```

I know it is not an answer to your problem but rather asking you for a little help. But you would save my day because this issue is driving mad.

Thanks in advanced.

---

<div class="post-metadata">

**Author:** ![BoBosan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BoBosan](https://forums.unrealengine.com/u/BoBosan)\
**Post date:** [October 28, 2020, 6:41am UTC](https://forums.unrealengine.com/t/scene-render-component-renders-black-on-android-quest-in-4-25/472857/3 "2020-10-28T06:41:36Z")

</div>

I deploy 4.25.3 on Oculus Quest with very minimal uproject using similar configure.

It can capture scene using SCS\_FinalColorLDR and SCS\_FinalColorHDR.  
Other ESceneCaptureSource causes crash because of missing TextureRHI in FSceneRenderTargets when it tries to copy scene color.

Sometime even with SCS\_FinalColorLDR / SCS\_FinalColorHDR, It outputs nothing to render target.  
Look like an uninitialized variable bug.

---

<div class="post-metadata">

**Author:** ![BenLama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benlama/32/479263_2.png) [@BenLama](https://forums.unrealengine.com/u/BenLama)\
**Post date:** [June 9, 2022, 9:13am UTC](https://forums.unrealengine.com/t/scene-render-component-renders-black-on-android-quest-in-4-25/472857/4 "2022-06-09T09:13:10Z")

</div>

I had the same issue and resolve it by unchecking game, post-processing and checking lightning in the hidden show flags section of the sceneCaptureComponent

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/c/d6c8487f935893bd811fb0843b57931c40900773.png)
