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

Error in Mac build: Desired shader compiler platform 15 is not available in shader blob

Discussion in 'Shaders' started by andyz, Feb 21, 2017.

  1. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,246
    Can anyone explain what this error is?
    'Desired shader compiler platform 15 is not available in shader blob'
     
  2. LeoAlves

    LeoAlves

    Joined:
    Dec 7, 2012
    Posts:
    2
    Hello!
    I had same problem, but with plataform 4.
    The problem was that the assetbundle project and build game project, was with different Graphics API.
    I resolved changing the Graphics API in Edit - Project Setting - Player, to same API in project build game.

    Sorry for my bad english. :)
     
  3. IgorAherne

    IgorAherne

    Joined:
    May 15, 2013
    Posts:
    393
    This can also happen when "Scripts Only Build" is ticked, under Build Settings.
     
  4. msf-eng92

    msf-eng92

    Joined:
    Apr 9, 2015
    Posts:
    6
    thank you LeoAlves you saved my time
     
    sinjimonkey likes this.
  5. hojjat-reyhane

    hojjat-reyhane

    Joined:
    Feb 4, 2014
    Posts:
    49
    Thank you Leo, for me it was from addressable build.
    It needed to clean addressable build and then rebuild it.
     
    B-Erolskiy likes this.