Search Unity

Bug Barracuda Verified 3.0.0 Shader errors on build

Discussion in 'Barracuda' started by ROBYER1, Mar 22, 2022.

  1. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    Not sure if anyone else caught this yet but using Barracuda 3.0.0 verified package in Unity 2020.3.31f1 / 2021.1.16f1 and building an apk for android/build and play to android causes a huge list of shader errors. I can see this is probably a mismatch with the naming of the @2.0.0-pre.2 in the packagecache that the package writes to.

    The builds work but I am noticing intermittent crashes in the builds which may be a side-effect of these errors...
    upload_2022-3-22_9-47-26.png
     
  2. fguinier

    fguinier

    Unity Technologies

    Joined:
    Sep 14, 2015
    Posts:
    146
    Hum, a few things to try :
    * clear Library/temp folder.
    * reimport shader(s)/project

    My guess is that the problem is around Unity dependency tracking when package was upgrade from 2.0.0 to 3.0.0.

    Hope it helps!
     
  3. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    Restarting the editor in both Unity projects helped, not sure how this happened but hope this post helps anyone else if they have this issue. Thanks!
     
    fguinier likes this.