Forum Discussion
xrdyne2
Oct 09, 2023Copper Contributor
Mesh Build and Upload failed because of "content performance"?
Mesh Build and Upload failed because of "content performance"? I took the mesh toolkit sample project Mesh101 and created my own scene and copied over the basic rig. i have a cad model in there...
kaipiroska
Oct 09, 2023Brass Contributor
xrdyne2
Oct 10, 2023Copper Contributor
thanks that worked but only for windows build.
im getting a new error for the Android build
Shader error in 'Universal Render Pipeline/Terrain/Lit': maximum ps_5_0 sampler register index (16)
Looks like LightCookieInput shader from URP is breaking some of the rules in the build for mesh.
How do i fix this im not a unity pro
Error building Player: Shader error in 'Universal Render Pipeline/Terrain/Lit': maximum ps_5_0 sampler register index (16) exceeded at /org/cadtounity/Mesh-Toolkit-Unity/Mesh101/Library/PackageCache/com.unity.render-pipelines.universal@14.0.8/ShaderLibrary/LightCookie/LightCookieInput.hlsl(9) (on gles)
im getting a new error for the Android build
Shader error in 'Universal Render Pipeline/Terrain/Lit': maximum ps_5_0 sampler register index (16)
Looks like LightCookieInput shader from URP is breaking some of the rules in the build for mesh.
How do i fix this im not a unity pro
Error building Player: Shader error in 'Universal Render Pipeline/Terrain/Lit': maximum ps_5_0 sampler register index (16) exceeded at /org/cadtounity/Mesh-Toolkit-Unity/Mesh101/Library/PackageCache/com.unity.render-pipelines.universal@14.0.8/ShaderLibrary/LightCookie/LightCookieInput.hlsl(9) (on gles)