Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] shader error on Android(Oculus Quest) build
#2
Hi,

This looks like a regression of a very old issue:
(http://obi.virtualmethodstudio.com/forum...=Kumaresan)

The gist of the issue is that when using certain lightning modes that make use of light maps, the particle shader should not be compiled (as particles cannot be lightmapped).
Line 21 of ParticleShader.shader should read:
#pragma multi_compile_fwdbase nolightmap

Can you check it just in case you updated from an old version?

Edit: also try adding noshadowmask to the pragma directive, just in case. It *should* be included by nolightmap if Unity's docs are correct, but adding it can't hurt.
Reply


Messages In This Thread
RE: shader error on Android(Oculus Quest) build - by josemendez - 06-04-2020, 03:55 PM