Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question WebGL addressables built-in shader caching fails on new version

Discussion in 'Web' started by JanetGilbertPraxis, Aug 9, 2023.

  1. JanetGilbertPraxis

    JanetGilbertPraxis

    Joined:
    May 6, 2022
    Posts:
    21
    Whenever we release a new version of our WebGL app built in Unity, we get complaints that everything is "pink." This seems to be because the built-in shaders are not invalidated between versions and the app tries to load the old cached versions. This leads to the built-in shaders being replaced by the magenta error shader. Everything else is invalidated just fine and the new version is loaded.

    How can we set our addressables so that they invalidate the cached built-in shaders?

    Here are the errors we see when this happens:

    upload_2023-8-9_14-16-11.png