# Scene Capture Cause Crash on IOS 12 with Metal

**URL:** <https://forums.unrealengine.com/t/scene-capture-cause-crash-on-ios-12-with-metal/471962>\
**Category:** Mobile\
**Tags:** Mobile, Scene-Capture, unreal-engine, crash, iOS, question\
**Created:** [September 26, 2020, 12:18am UTC](https://forums.unrealengine.com/t/scene-capture-cause-crash-on-ios-12-with-metal/471962 "2020-09-26T00:18:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chasester1234](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@chasester1234](https://forums.unrealengine.com/u/chasester1234)\
**Post date:** [September 26, 2020, 12:18am UTC](https://forums.unrealengine.com/t/scene-capture-cause-crash-on-ios-12-with-metal/471962/1 "2020-09-26T00:18:55Z")

</div>

We have experienced a bug after a few days of testing various aspects of the Scene Capture Component and are hoping to get some insight into how to fix or create a work around.

* * *

**Setup** ’

- 1 Plane with a material that is tied  
to a render to texture texture.
- 1  
Actor with a scene capture component,  
with default settings
- 1 model to  
render
- Game mode: Base Game mode
- Pawn: Spectator pawn

* * *

**Results**

- Map Crashes On load

**Tests**

- Checked various settings with no luck
- Have delayed changing the plane  
material till 3 seconds in, when  
material is changed crash happens

* * *

Thanks

---

<div class="post-metadata">

**Author:** ![chasester1234](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@chasester1234](https://forums.unrealengine.com/u/chasester1234)\
**Post date:** [September 27, 2020, 6:31am UTC](https://forums.unrealengine.com/t/scene-capture-cause-crash-on-ios-12-with-metal/471962/2 "2020-09-27T06:31:36Z")

</div>

This is due to options set by the screen capture, IF you set to Scene Color (HDR) 0 in A this fixed the issue.

Also see [https://docs.unrealengine.com/en-US/Engine/Rendering/SceneCapture/SceneCaptureMobile/index.html](https://docs.unrealengine.com/en-US/Engine/Rendering/SceneCapture/SceneCaptureMobile/index.html)

This has a list of acceptable options.

I guess when they say for mobile they mean for IOS 🙂

---

<div class="post-metadata">

**Author:** ![HenriNG](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/henring/32/617569_2.png) [@HenriNG](https://forums.unrealengine.com/u/HenriNG)\
**Post date:** [October 12, 2022, 11:21am UTC](https://forums.unrealengine.com/t/scene-capture-cause-crash-on-ios-12-with-metal/471962/3 "2022-10-12T11:21:56Z")

</div>

Thanks for this @chasester1234

Still worked in 2022. I was experiencing a crash with SceneCaptureComponent.

Setting CaptureSource to “SceneColorHDR in RGB 0 in A” made it work.  
I think the supported modes are in MobileSceneCaptureRendering.cpp SetCaptureToTargetShaders().
