# Cast Modulated Shadows causes black screen on iOS with non-default FOV

**URL:** <https://forums.unrealengine.com/t/cast-modulated-shadows-causes-black-screen-on-ios-with-non-default-fov/334626>\
**Category:** Rendering\
**Tags:** fov, flicker, black, cast-shadow, unreal-engine, iOS, question\
**Created:** [October 8, 2015, 4:06am UTC](https://forums.unrealengine.com/t/cast-modulated-shadows-causes-black-screen-on-ios-with-non-default-fov/334626 "2015-10-08T04:06:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spoondog](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spoondog](https://forums.unrealengine.com/u/Spoondog)\
**Post date:** [October 8, 2015, 4:06am UTC](https://forums.unrealengine.com/t/cast-modulated-shadows-causes-black-screen-on-ios-with-non-default-fov/334626/1 "2015-10-08T04:06:28Z")

</div>

Using a FOV other than 90 with Cast Modulated Shadows seems to cause a black screen and weird FOV issues on an iOS device, in 4.9.2.

Here is a bare bones **[test map][1]**, containing just a static mesh box for the floor, a playerstart, and a default DirectionalLight with CastModulatedShadows being the only property changed. There is also a default camera pointing down that’s set to auto-activate.

If the camera has FOV=90, it works fine on the iOS device. If the camera has FOV=60, there is just a black screen.

While the screen is black, if you double-tap the home button on the device (app-switching mode), or swipe from top of screen (to show the notification pull down), and then return to the game, it appears to render as normal. Also note that if you tap 4 fingers and use the RestartLevel console command, the level will reload and then start flickering between FOVs really weirdly (but if you go into app-switching mode and back again it fixes itself).

The device is an iPhone 6 Plus on iOS 9.0.2. Both scenarios work fine in the previewer.

[61807-ioslighterror.zip](https://forums.unrealengine.com/uploads/short-url/Uo9N3HNOu9lKOUd1mtEkW9Y7dd.zip) (41.6 KB)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [October 14, 2015, 2:31pm UTC](https://forums.unrealengine.com/t/cast-modulated-shadows-causes-black-screen-on-ios-with-non-default-fov/334626/2 "2015-10-14T14:31:05Z")

</div>

Hey

We’ve entered a bug for this issue, it’s referenced as UE-22117. If you’d like to check on this bug in the future, please feel free to reply back here and we’ll provide you with an update.

Thank you and have a nice day!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_550b73f9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_550b73f9](https://forums.unrealengine.com/u/anonymous_user_550b73f9)\
**Post date:** [October 15, 2015, 6:07am UTC](https://forums.unrealengine.com/t/cast-modulated-shadows-causes-black-screen-on-ios-with-non-default-fov/334626/3 "2015-10-15T06:07:20Z")

</div>

Hi I can’t reproduce this issue in either 4.9 or our pre-release 4.10 code on an iPhone 6 running iOS 9.0.2. Do you have another iOS device to try? I’m wondering if it’s specific to the 6 Plus for some reason.

-

---

<div class="post-metadata">

**Author:** ![Spoondog](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spoondog](https://forums.unrealengine.com/u/Spoondog)\
**Post date:** [October 17, 2015, 10:33pm UTC](https://forums.unrealengine.com/t/cast-modulated-shadows-causes-black-screen-on-ios-with-non-default-fov/334626/4 "2015-10-17T22:33:27Z")

</div>

Hi ,  
It seems like it could be specific to the 6 Plus - I just tried it on iPad 3 and the problem does not occur there.

I downloaded and installed a clean version of 4.9.2 (needed to for other reasons anyway… somehow I’d managed to change all of the engine Pure function parameters to “By Ref” in a BP only project, but that’s another story), and removed intermediate/saved from the project dir, removed data from the iPhone 6 Plus and installed the test map clean there, and it still occurs.

Is there anything else I should delete in the project or engine dirs to ensure what I’m installing to the device is a completely clean, brand new cook with zero cached data?

I should also mention this is from the editor, not frontend.

I’m setting up a 6S Plus this weekend too, so if I get around to trying it on there I will report back.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_550b73f9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_550b73f9](https://forums.unrealengine.com/u/anonymous_user_550b73f9)\
**Post date:** [November 2, 2015, 2:27am UTC](https://forums.unrealengine.com/t/cast-modulated-shadows-causes-black-screen-on-ios-with-non-default-fov/334626/5 "2015-11-02T02:27:19Z")

</div>

Hi

Are you able to try it on a 4.10 preview release? We believe the issue is fixed there and it would be great if you could confirm.

Thanks

---

<div class="post-metadata">

**Author:** ![Spoondog](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spoondog](https://forums.unrealengine.com/u/Spoondog)\
**Post date:** [November 3, 2015, 9:11pm UTC](https://forums.unrealengine.com/t/cast-modulated-shadows-causes-black-screen-on-ios-with-non-default-fov/334626/6 "2015-11-03T21:11:18Z")

</div>

Hi , the problem no longer occurs in the test map on a 6S Plus in an unmodified 4.10 preview 3 (I don’t have the 6 Plus any more to test on).

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_550b73f9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_550b73f9](https://forums.unrealengine.com/u/anonymous_user_550b73f9)\
**Post date:** [November 4, 2015, 12:10am UTC](https://forums.unrealengine.com/t/cast-modulated-shadows-causes-black-screen-on-ios-with-non-default-fov/334626/7 "2015-11-04T00:10:45Z")

</div>

Glad to hear it. Thanks for confirming.
