Search Unity

Bug Unity Shader 'Universal Render Pipeline/Lit' uses 386 texture parameters, more than the 64 supported

Discussion in 'Editor & General Support' started by jonkelling, Sep 13, 2022.

  1. jonkelling

    jonkelling

    Joined:
    Dec 18, 2019
    Posts:
    21
    I am currently running Unity 2022.1.10f1 and building successfully to Android (Quest/Quest 2) using Vulkan. When upgrading to 13f1 or 16f1 (I haven't tried other versions yet) and then building to the Quest 2, the following line repeats in the logs until the app crashes:

    Unity Shader 'Universal Render Pipeline/Lit' uses 3867 texture parameters, more than the 64 supported by the current graphics device


    The number in
    uses X texture parameters
    increases each time by somewhere between 4 and 10 every 4 to 10ms. Until it crashes.

    I haven't made any changes to the URP Lit shader. Worked fine on 10f1 and prior.
     
    marcin-walus likes this.