Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  iOS Build Failed!!!
#1
Exclamación 
Hey has any one had any luck building to iOS? I've seen a few other people get similar errors. 

http://obi.virtualmethodstudio.com/forum...hp?tid=534

I've done the fix here and that takes care of a couple of errors. 


Attached is a screenshot of my console. I've tried on two computers both running 2017.4.0f1

The asset store says it supports iOS so can we get a tutorial that shows us how? 

Thanks!
Reply
#2
Same here, can't build for iOS using Unity 2017.3.0

Can you please fix? This plugin is useless if it doesn't compile.
Reply
#3
(11-05-2018, 04:33 PM)vicapps Wrote: Same here, can't build for iOS using Unity 2017.3.0

Can you please fix? This plugin is useless if it doesn't compile.


Hi there,

If you have upgraded from a previous version you might have this file:
Obi/Resources/ObiMaterials/FluidShader.shader.

Simply delete it. It is an old sample file that will not impact the runtime behaviour in any way.

Also, there's a known bug in 3.4 that causes the particle shader to be rejected by the GLES compiler, it doesn't seem to be able to figure out the types involved in a certain expression. Simply make the cast explicit so that it does not get confused by it: (ObiEllipsoids.cginc, line 83 & 84). This has been fixed in 3.5 (to be released shortly)

Code:
a2 = mul((float3x3)UNITY_MATRIX_V,mul(IP,mul(IP,WorldEye(worldPos) - center))); //T^-2 * (eye - center)
a3 = mul((float3x3)UNITY_MATRIX_V,mul(IP,mul(IP,view))); //T^-2 * A[0]

(that its, add the (float3x3) cast to UNITY_MATRIX_V).
Reply