Hi guys,
I’ve a nasty problem building a scene made with Unity5 on my Samsung Galaxy Note 2 (Android 4.4.2).
Simply there is no lightmapping! The scene is completely dark:
I tried to tweak the lightmapping options but I can’t have a better result! It’s like the lightmapping texture aren’t rendered!
The last test I did was building the same scene on a Nexus 5 with Android 5.1:
And… that’s correct!!!
So… after the second test, I assume my lightmapping options ARE correct, I just can’t figure out how to make the scene work in both devices…
Only thing I thought of was the lightmapping texture dimension… I had a similar issue sometimes ago, a 4096x4096 wasn’t rendered on a Samsung Galaxy Tab 2, I reduced that texture to 1024x1024 and everything worked just fine… I don’t think that’s the case because the lightmapping are 2x1024x1024 texture uncompressed!
I really hope someone can help me out with this thing… it’s driving me crazy! :S
Any news about this problem?
I dont know what settings I can use.I have nexus 5 too.
Can you share your lightmap settings?
Are you using a custom shader in that scene? Might also be a good idea to check the logcat output to see if something failed to render or load.
Huh? It’s working on my end fine! Most likely, android 4.4.2 has some weird driver issue that’s doing it. Hopefully, the Unity guys can find what’s causing this weird issue. (In the meantime, I would probably suggest blocking android 4.4.2 devices on the Google Play Store if possible, or have a no-lightmap mode instead. ;))
EDIT: Very late update, but it turns out on GLES2 devices, the lightmap keyword isn’t being switched by the engine automatically like it’s supposed to, causing the lightmaps to not show up.
Hi All. Experiencing same issue here and it is blocking major project. Anyone had any luck with some workaround?
Thanks
Hi Lukos, if you read in the opened issue ( http://issuetracker.unity3d.com/issues/opengles2-baked-gi-doesnt-work-on-gles2-anymore ), they said that the workaround for now is to set Directional Mode to “Non Directional” and that this bug will be fixed in Unity 5.3!
Did anyone see my post? I do have a small workaround for those who want to stick with directional!
EDIT: Oh whoops, wrong thread, please disregard that. If anyone’s after good workarounds, I bypassed the glitch by having a shader that ONLY does directional lightmapping. (Shader source is on the other thread)
EDIT2: for those who want my shader, head to this link: http://forum.unity3d.com/threads/baked-lightmaps-not-showing-on-mobile-device-ipad-android.310945/ (Also somewhere in this thread already… )