06-04-2020, 03:55 PM
(This post was last modified: 06-04-2020, 03:58 PM by josemendez.)
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.
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.