# Spotlight attached to character on mobile not working

**URL:** <https://forums.unrealengine.com/t/spotlight-attached-to-character-on-mobile-not-working/443158>\
**Category:** Mobile\
**Tags:** Mobile, unreal-engine, iOS, Android, flashlight, UE4, question\
**Created:** [February 11, 2019, 12:54pm UTC](https://forums.unrealengine.com/t/spotlight-attached-to-character-on-mobile-not-working/443158 "2019-02-11T12:54:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zerobored](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zerobored](https://forums.unrealengine.com/u/zerobored)\
**Post date:** [February 11, 2019, 12:54pm UTC](https://forums.unrealengine.com/t/spotlight-attached-to-character-on-mobile-not-working/443158/1 "2019-02-11T12:54:43Z")

</div>

Hi. I’m trying to make a flashlight for my fps game on mobile. First when I saw it didn’t worked I thought that it’s not supported on mobile but after reading this [Lighting for Mobile Platforms | Unreal Engine Documentation](https://docs.unrealengine.com/en-us/Platforms/Mobile/Lighting) I saw that are supported up to 4 mobile spot lights. I don’t know why when I’m testing on my mobile or on es2 view mode it doesn’t work. I’ve also added a point light to my character and that one is working fine. What could be the problem?  
Thank you!

 ![268282-untitled-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/f/08f18c0dacecf7cb51f8c6ddd33744067eeac4ba.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3097fb7d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3097fb7d](https://forums.unrealengine.com/u/anonymous_user_3097fb7d)\
**Post date:** [February 13, 2019, 9:55am UTC](https://forums.unrealengine.com/t/spotlight-attached-to-character-on-mobile-not-working/443158/2 "2019-02-13T09:55:30Z")

</div>

It seems like moveable spotlights on mobile will be supported in UE 4.22:

```
Mobile Updates:

- Mobile Feature Level Preview Improvements
- Scalability Platform Override for Mobile Play-in-Editor
- Movable Spotlight support on Mobile
- SaveGame System iCloud Support
- Device Output Window Improvements
- HTML5 Platform Improvements
- Dithered LOD Transitions on Mobile
- iOS Preferred Orientation

```

[Link to the preview release notes](https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1583659-unreal-engine-4-22-preview)

---

<div class="post-metadata">

**Author:** ![zerobored](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zerobored](https://forums.unrealengine.com/u/zerobored)\
**Post date:** [February 13, 2019, 4:13pm UTC](https://forums.unrealengine.com/t/spotlight-attached-to-character-on-mobile-not-working/443158/3 "2019-02-13T16:13:29Z")

</div>

Thank you! I’ve tried an entire week to solve this and yes, on 4.22 I’ll do it 🙂

---

<div class="post-metadata">

**Author:** ![IgorV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IgorV](https://forums.unrealengine.com/u/IgorV)\
**Post date:** [March 7, 2019, 4:13pm UTC](https://forums.unrealengine.com/t/spotlight-attached-to-character-on-mobile-not-working/443158/4 "2019-03-07T16:13:30Z")

</div>

I tried to add spotlight in 4.22.0. Not working for me.

---

<div class="post-metadata">

**Author:** ![zerobored](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zerobored](https://forums.unrealengine.com/u/zerobored)\
**Post date:** [March 12, 2019, 4:40pm UTC](https://forums.unrealengine.com/t/spotlight-attached-to-character-on-mobile-not-working/443158/5 "2019-03-12T16:40:30Z")

</div>

For me it works but it’s very laggy.

---

<div class="post-metadata">

**Author:** ![UnexpectedSquirt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnexpectedSquirt](https://forums.unrealengine.com/u/UnexpectedSquirt)\
**Post date:** [June 12, 2019, 3:54pm UTC](https://forums.unrealengine.com/t/spotlight-attached-to-character-on-mobile-not-working/443158/6 "2019-06-12T15:54:35Z")

</div>

works if you place the spotlight as an actor ,but does _not_ seem to work if the spotlight is a component attached to another actor…

Update: It _does_ work, but only if shadow casting is enabled . \_ .

---

<div class="post-metadata">

**Author:** ![KondratiS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KondratiS](https://forums.unrealengine.com/u/KondratiS)\
**Post date:** [February 10, 2021, 2:20pm UTC](https://forums.unrealengine.com/t/spotlight-attached-to-character-on-mobile-not-working/443158/7 "2021-02-10T14:20:39Z")

</div>

Right Info you can find here: [Lighting for Mobile Platforms | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/SharingAndReleasing/Mobile/Lighting/index.html)

Yuo just need to enable it in settings…
