Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Errors building for Android
#5
(01-06-2018, 01:52 PM)josemendez Wrote: HI,

maybe this thread will be helpful:
http://obi.virtualmethodstudio.com/forum...hp?tid=588

cheers,

Hi,

That helps a bit thanks. Changing line 83 & 84 in ObiEllipsoids.cginc fixes the third error, but allows the compiler to get further and find two more in ParticleShader.Shader. These are also caused by UNITY_MATRIX_V and fixed by adding a cast in the same way. 

This doesn't help with the first two errors though, on lines 415 and 503 of UnityStandardCoreBackfaces.cginc. They seem to be caused by 
UNITY_LIGHT_ATTENUATION(atten, i, s.posWorld);
(also line 503 seems to be missing a semi-colon)

Any ideas about what is causing this and how to fix it. It's been a week since I bought this now and I'd really like to get it compiling. 

Cheers,
Dan
Reply


Messages In This Thread
Errors building for Android - by danblack - 28-05-2018, 11:09 AM
RE: Errors building for Android - by danblack - 30-05-2018, 08:13 AM
RE: Errors building for Android - by danblack - 01-06-2018, 07:15 AM
RE: Errors building for Android - by josemendez - 01-06-2018, 01:52 PM
RE: Errors building for Android - by danblack - 04-06-2018, 10:25 AM
RE: Errors building for Android - by josemendez - 04-06-2018, 12:17 PM
RE: Errors building for Android - by danblack - 04-06-2018, 03:25 PM