Search Unity

Bug WebGL.framework.js.br:10 Note: Creation of internal variant of shader 'Universal Render Pipeline/Sim

Discussion in 'Web' started by bustedbunny2, May 31, 2023.

  1. bustedbunny2

    bustedbunny2

    Joined:
    Oct 27, 2021
    Posts:
    25
    After building WebGL on 2022.3.0 and running local server - nothing gets rendered and this warning appears in console. Game itself freezes whole browser leaving it at 1 fps.

    I am using entities + graphics 1.0.10
    All rendered objects are loaded via subscene.


    Code (CSharp):
    1. WebGL.framework.js.br:10 Note: Creation of internal variant of shader 'Universal Render Pipeline/Simple Lit' failed.
    2.  
    3. WebGL.framework.js.br:10 -------- Shader Universal Render Pipeline/Simple Lit
    4. -------- GLSL link error: C:\fakepath(555,17-27): warning X3092: unary negate of unsigned value is still unsigned
    5. C:\fakepath(207,12-121): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
    6. C:\fakepath(565,3-15): error X3511: unable to unroll loop, loop does not appear to terminate in a timely manner (199 iterations) or unrolled loop is too large, use the [unroll(n)] attribute to force an exact higher number
    7.  
    8. Warning: D3D shader compilation failed with default flags. (ps_5_0)
    9. Retrying with skip validation
    10. C:\fakepath(555,17-27): warning X3092: unary negate of unsigned value is still unsigned
    11. C:\fakepath(207,12-121): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
    12. C:\fakepath(565,3-15): error X3511: unable to unroll loop, loop does not appear to terminate in a timely manner (199 iterations) or unrolled loop is too large, use the [unroll(n)] attribute to force an exact higher number
    13.  
    14. Warning: D3D shader compilation failed with skip validation flags. (ps_5_0)
    15. Retrying with skip optimization
    16. C:\fakepath(555,17-27): warning X3092: unary negate of unsigned value is still unsigned
    17. C:\fakepath(207,12-121): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
    18. C:\fakepath(565,3-15): error X3511: unable to unroll loop, loop does not appear to terminate in a timely manner (195 iterations) or unrolled loop is too large, use the [unroll(n)] attribute to force an exact higher number
    19.  
    20. Warning: D3D shader compilation failed with skip optimization flags. (ps_5_0)
    21.  
    22. Failed to create D3D Shaders
     
  2. VikasIncredimate

    VikasIncredimate

    Joined:
    Jun 22, 2022
    Posts:
    1
    Code (CSharp):
    1. fdb7eab7-66af-411f-8e5a-65ac5c756863:10 -------- Shader Universal Render Pipeline/Autodesk Interactive/AutodeskInteractive
    2. -------- GLSL link error: C:\fakepath(800,17-27): warning X3092: unary negate of unsigned value is still unsigned
    3. C:\fakepath(1283,17-27): warning X3092: unary negate of unsigned value is still unsigned
    4. C:\fakepath(280,12-121): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
    5. C:\fakepath(1293,3-15): error X3511: unable to unroll loop, loop does not appear to terminate in a timely manner (106 iterations) or unrolled loop is too large, use the [unroll(n)] attribute to force an exact higher number
    6.  
    7. Warning: D3D shader compilation failed with default flags. (ps_5_0)
    8. Retrying with skip validation
    9. C:\fakepath(800,17-27): warning X3092: unary negate of unsigned value is still unsigned
    10. C:\fakepath(1283,17-27): warning X3092: unary negate of unsigned value is still unsigned
    11. C:\fakepath(280,12-121): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
    12. C:\fakepath(1293,3-15): error X3511: unable to unroll loop, loop does not appear to terminate in a timely manner (106 iterations) or unrolled loop is too large, use the [unroll(n)] attribute to force an exact higher number
    13.  
    14. Warning: D3D shader compilation failed with skip validation flags. (ps_5_0)
    15. Retrying with skip optimization
    16. C:\fakepath(800,17-27): warning X3092: unary negate of unsigned value is still unsigned
    17. C:\fakepath(1283,17-27): warning X3092: unary negate of unsigned value is still unsigned
    18. C:\fakepath(280,12-121): warning X3570: gradient instruction used in a loop with varying iteration, attempting to unroll the loop
    19. C:\fakepath(1293,3-15): error X3511: unable to unroll loop, loop does not appear to terminate in a timely manner (104 iterations) or unrolled loop is too large, use the [unroll(n)] attribute to force an exact higher number
    20.  
    21. Warning: D3D shader compilation failed with skip optimization flags. (ps_5_0)
    22.  

    Same error if I use Forward+ Rendering. For the WebGL
     
  3. ez9002

    ez9002

    Joined:
    Mar 21, 2019
    Posts:
    7
    I get this error too on 2023.1.2, even if I use regular instead of forward rendering.