Describe the bug
An error occurred after building the addressables in Unity while using Nature Renderer. Despite following the standard procedures, I am facing an issue with shader errors related to the maximum sampler register index being exceeded.
Error Messages:
Shader error in 'NatureManufacture/URP/Foliage/Bark (Nature Renderer)': maximum ps_5_0 sampler register index (16) exceeded at line 382 (on d3d11).
Shader error in 'NatureManufacture Shaders/Water/Water River Offset Vertex Color Flow': maximum ps_5_0 sampler register index (16) exceeded at line 538 (on d3d11) (repeated error).
To Reproduce
Steps to reproduce the behavior:
1.Open Unity Editor and load the project.
2.Navigate to the addressables configuration and initiate a build.
3.Observe the shader compilation process.
4.Errors appear in the console related to specific shaders.
Expected behavior
Expected the shaders to compile without errors and for the addressables build to complete successfully without exceeding the hardware limits for shader sampler registers.
Screenshots
Project(please complete the following information):
Unity Version: Unity 2021.3.20f1
Nature Renderer Version: Nature renderer 2021.2.0
Render Pipeline: Universal Render Pipeline
Render Pipeline Version 12.0.10
System (please complete the following information):
Describe the bug An error occurred after building the addressables in Unity while using Nature Renderer. Despite following the standard procedures, I am facing an issue with shader errors related to the maximum sampler register index being exceeded.
Error Messages:
Shader error in 'NatureManufacture/URP/Foliage/Bark (Nature Renderer)': maximum ps_5_0 sampler register index (16) exceeded at line 382 (on d3d11). Shader error in 'NatureManufacture Shaders/Water/Water River Offset Vertex Color Flow': maximum ps_5_0 sampler register index (16) exceeded at line 538 (on d3d11) (repeated error).
To Reproduce Steps to reproduce the behavior: 1.Open Unity Editor and load the project. 2.Navigate to the addressables configuration and initiate a build. 3.Observe the shader compilation process. 4.Errors appear in the console related to specific shaders.
Expected behavior Expected the shaders to compile without errors and for the addressables build to complete successfully without exceeding the hardware limits for shader sampler registers.
Screenshots
Project(please complete the following information):
System (please complete the following information):