Hello Everyone.
I have been running into a problem that i can’t fix for weeks. I’m Creating a 2D Mobile game. In the level I have placed Point lights Across the map. The problem is In IOS/Android ES31 Preview Or When i package the game and install on my android, the lights disappear. I have tried many things:
Turning On/Off Plugins
Turning On/Off Options in (Project settings/Render)
Ugrading to UE5
Creating a new project for test
one thing that i realised was that when you set point lights to Movable they light up but the engine support 4 max.
I also realised that lens flare doesnt work.
why? is static light or lens flare not supported on mobile?
Thank You For Your Time.
this is something I’ve struggled with, is a bit tricky, here is what I’ve figured out till now.
if you want the lights to work and show shadows and the like you need to have proper UV for all the static geometry in the scene. Then this UV will be used by unreal to create an additional UV channel for the light maps. (you may need to select Build Lighting menu option also)
If you don’t have the lightmap UV the light will not work correctly (only real time lights will work)
open one of the Static Mesh assets and check if it has the UV for lightmap. There are buttons in the interface to generate it if it doesn’t exit. This works only if the object has already a nice UV to start with.
Hello. I don’t know much about UV And Light maps. all my assets are Sprites. I couldn’t find Anything UV Related in the sprite editer. I Created a New project turned everything UV Related in the mesh editer on but it didn’t work.
And Also i realised the Build Lighting Turns off in android preview, so i cant even build lights. I can build precompute static visibility but at the end it give and error that says (world setting light needs to be rebuilt)
@anonymous_user_1519335c1 There’s a lot of weird business when dealing with Mobile lighting, primarily because not all types of lights are supported. I can drop some links beside what @dorusoftware has said: