Skip to main content
Unity Version
Source Link

I just recently imported a new asset package, all of the materials use the URP lit shader, no custom shaders. However, now I can't build the game because I keep getting the same errors:

Maximum ps_4_0 sampler register index (16) exceeded
Maximum ps_5_0 sampler register index (16) exceeded

I'm using Unity Version 2021.3.45.

I understand that it means the Sampler states has exceeded 16, but the problem is I can't find the root cause, nor fix it because URP Lit is a package file so I can't change it.

There is the imported asset.

Here is a screenshot of the errors:

enter image description here

I just recently imported a new asset package, all of the materials use the URP lit shader, no custom shaders. However, now I can't build the game because I keep getting the same errors:

Maximum ps_4_0 sampler register index (16) exceeded
Maximum ps_5_0 sampler register index (16) exceeded

I understand that it means the Sampler states has exceeded 16, but the problem is I can't find the root cause, nor fix it because URP Lit is a package file so I can't change it.

There is the imported asset.

Here is a screenshot of the errors:

enter image description here

I just recently imported a new asset package, all of the materials use the URP lit shader, no custom shaders. However, now I can't build the game because I keep getting the same errors:

Maximum ps_4_0 sampler register index (16) exceeded
Maximum ps_5_0 sampler register index (16) exceeded

I'm using Unity Version 2021.3.45.

I understand that it means the Sampler states has exceeded 16, but the problem is I can't find the root cause, nor fix it because URP Lit is a package file so I can't change it.

There is the imported asset.

Here is a screenshot of the errors:

enter image description here

added text version of error message, moved raw URL into a text link
Source Link
Pikalek
  • 13.4k
  • 5
  • 49
  • 54

I just recently imported a new asset package, all of the materials use the URP lit shader, no custom shaders. However, now I can't build the game because I keep getting the same errors.:

Maximum ps_4_0 sampler register index (16) exceeded
Maximum ps_5_0 sampler register index (16) exceeded

I understand that it means the Sampler states has exceeded 16, but the problem is I can't find the root cause, nor fix it because URP Lit is a package file so I can't change it.

ThisThere is the asset imported: https://assetstore.unity.com/packages/3d/environments/sci-fi/scifi-neon-city-118580#descriptionimported asset.

Here is a screenshot of the errors:

enter image description here

I just recently imported a new asset package, all of the materials use the URP lit shader, no custom shaders. However, now I can't build the game because I keep getting the same errors. I understand that it means the Sampler states has exceeded 16, but the problem is I can't find the root cause, nor fix it because URP Lit is a package file so I can't change it.

This is the asset imported: https://assetstore.unity.com/packages/3d/environments/sci-fi/scifi-neon-city-118580#description

enter image description here

I just recently imported a new asset package, all of the materials use the URP lit shader, no custom shaders. However, now I can't build the game because I keep getting the same errors:

Maximum ps_4_0 sampler register index (16) exceeded
Maximum ps_5_0 sampler register index (16) exceeded

I understand that it means the Sampler states has exceeded 16, but the problem is I can't find the root cause, nor fix it because URP Lit is a package file so I can't change it.

There is the imported asset.

Here is a screenshot of the errors:

enter image description here

edited tags
Link
added 55 characters in body
Source Link
Loading
Source Link
Loading