Author Topic: FOW can not work on IOS 9.3  (Read 3766 times)

kete

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
FOW can not work on IOS 9.3
« on: June 08, 2016, 06:15:29 AM »
I have added this plugin in my project with new version Unity3d 5.3.5 and it works well. When I built the app on device IOS 9.3 , it crashed with some error info. When I disable the FOWsystem script, it was back to normal again. Here is the log:Metal: Error creating pipeline state: Fragment input(s) `xlv_TEXCOORD0` not written by vertex shader

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: FOW can not work on IOS 9.3
« Reply #1 on: June 09, 2016, 02:53:48 PM »
Not sure what "xlv_TEXCOORD0" is -- there is nothing like that in any of FOW's shaders... You may need to ask Unity.

nickyang

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Re: FOW can not work on IOS 9.3
« Reply #2 on: August 30, 2016, 03:43:04 AM »
you should use half2 instead of float2 for TEXTCOORD0 when using IOS metal.