Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

iOS glass refraction shader crashing with AGXA9FFamilyCommandBuffer

Discussion in 'Shaders' started by ChameleonPower3DDev, Dec 12, 2017.

  1. ChameleonPower3DDev

    ChameleonPower3DDev

    Joined:
    Mar 14, 2017
    Posts:
    24
    Hi everyone,

    I'm running out of time to fix this and I haven't found any reference to this issue anywhere. My team is creating a desktop and iOS project in which glass refraction is a key element. I built a basic glass refraction shader in Shader Forge that works fine on desktop but crashes the iOS build no matter what I do.

    I've isolated the SF shader down to the refraction property and attempted to use Unity's FX/Glass/Stained BumpDistort shader which resulted in the same crash. Nothing I've found says anything about refraction not being capable on iOS Metal or GLES 3.0/2.0 -- I'm completely stuck and not sure where to go next. Any help would be hugely appreciated!

    Also, I'm running 2017.2.0f3 and I'm building to 5th gen iPad running iOS 11.1
     
    Last edited: Dec 12, 2017
  2. ChameleonPower3DDev

    ChameleonPower3DDev

    Joined:
    Mar 14, 2017
    Posts:
    24
    Does anyone know if iOS is capable of utilizing a shader that refracts based on a normal map?