Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Official Shader keyword system improvements in 2021.2 alpha

Discussion in '2021.2 Beta' started by aleksandrk, May 5, 2021.

  1. Faizalski

    Faizalski

    Joined:
    Oct 4, 2018
    Posts:
    27
    Thanks for the answers. Appreciate it a lot.
     
  2. Kronnect

    Kronnect

    Joined:
    Nov 16, 2014
    Posts:
    2,884
    Hi @aleksandrk
    We've found a bug by which certain shader variants are incorrectly stripped in the build (it seems). It's narrowed down to this bug case #1402320 (includes repro). I think it could be related to these changes so I'd appreciate if you can take a look.
    Thanks!
     
  3. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,960
    Hi @Kronnect
    If this happens in 2021.2.8+ it's very likely a known issue and a fix will appear in 2021.2.12f1.
     
    Kronnect likes this.