Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Help Wanted Shader variants collection within asset bundle

Discussion in 'Open Projects' started by studentutu, Feb 9, 2021.

  1. studentutu

    studentutu

    Joined:
    Oct 22, 2017
    Posts:
    91
    In the past - whenever you tried to use a real Android bundle on a PC to check that - it will throw shader errors in the scene loaded from that bundle (Pink shader).

    With addressable, it should be easier, but the thing is - addressable uses the same asset bundle approach with scene and data.

    Create a shader variant collection in the editor. Mark it to use for addresables scene. Inside the runtime - use shader variant collection from asset bundle.

    So, given an a shader variant which you would like to use inside the app, that goes into a bundle, will it breaks when used from the bundle?
     
unityunity