Lightmapping issues on Android with LWRP

Setup

  • Unity 2019.3.0b8 on Windows 10 64bit
  • LWRP (Universal Render Pipeline)
  • Linear Color Space / OpenGL ES3.0
  • Samsung Galaxy S7 Edge (Android 8.0.0)

Hello folks,

we are currently experimenting with baking lights onto prefabs in Unity using the script provided in this thread.

While everything works fine in the Editor, the lightmap is utterly corrupted when deployed to an actual mobile device. Has anybody an idea why that is ?

Editor
5118728--505472--editor.png
Device
5118728--505475--phone.jpg

Any help is greatly appreciated.
Alexander

For me result like that was caused by enabled srp batcher
If you use it try to disable.

Hi. We did have some issue fixed recently related to this and SRP Batcher.

Could you try disabling it in the pipeline asset to see if it fixes the issue. If not, we will need a repro case / bug reporter to investigate.

Thanks for the suggestion, we disabled the SRP Batcher, unfortunately without success.
The lightmap is still broken.

Can you say version number please for LWRP/URP so we can test it on our game and bug report if it not fix our case?

We are currently using the URP 7.1.2, so if fixed it should be in there, should it not?

@phil_lira If you message your GitHub account name I can grant you direct access to the repository.
This way there is no risk of stripping the issue away while setting up a new repo scene.

I think it is not :slight_smile:

URP [7.1.2] was 2019-09-19 about 40 days ago, we tested last time a week ago and bug persist so it looks like fix is not in 7.1.2.
It look like SRP batcher is not URP feature at all bur general SRP one and fix will be in another package that URP uses.

I understand, the mentioned changes are still locked up in the secret Unity repository vault :slight_smile:

https://github.com/Unity-Technologies/ScriptableRenderPipeline is not secret vault. (other stuff is)

I stand corrected :slight_smile:

I have opened an issue related to this case:

2 Likes

Was this resolved? Still have this issue in 2019.3.3f1 and URP 7.2.1.