Error with Shaders in Unity using Auto Import 1.3.7


https://forum.reallusion.com/Topic522111.aspx
Print Topic | Close Window

By thubbard - 3 Years Ago
I am working with Character Creator 4 Game Base characters in Unity with URP (2021.3.8) with CC Importer 1.3.7. Has anyone gotten this error about problems with the Cornea Shader?

Shader error in 'Shader Graphs/RL_CorneaShaderBasic_Baked_URP': maximum ps_5_0 sampler register index (16) exceeded at line 3808 (on gles3)

If anyone has ideas of solutions, I would love the help!

Thank you!
By Dutchottie - 3 Years Ago
Install the URP Converter from SoupDay: https://github.com/soupday
That will probably solve your issues. Works great.

By Victor.Soupday - 3 Years Ago
As far as I can tell it looks like a bug in Unity.

That particularly shader: RL_CorneaShaderBasic_Baked_URP, only uses 7 textures. So it can't possibly run out samplers (max 16)

What build platform is it?