UMA - Unity Multipurpose Avatar on the Asset Store! (Part 2)

Are you using HDRP?

Iā€™m using URP.

Try this:

Right click on the UMA/Content/ShaderPackages folder in the Project view, and choose ā€œReimportā€.
That will force all the shaders to re-extract and recompile.

Also - are you getting any errors in the console?

Iā€™ve tried reimporting ShaderPackages and also reimporing the whole UMA Folder. I did not get any error in console.

Maybe itā€™s something with editor setting? Cause me and my friend open project in the same branch on git but my friend donā€™t seem to have this problem.

I wouldnā€™t think it was an editor issue. but not 100 certain.

What kind of video card do you have? Maybe running out of GPU memory?
Did you try to rebuild the character (under ā€œcustomizationā€ hit ā€œRegenā€ button)?

if you open the sample scene ā€œUMA DCS Demo - Simple Setupā€ and run the game, does it work?

I have Ryzen5 5600x and a RTX 4060Ti. I donā€™t think that is the issue.
Iā€™ve regened the character also. The problem is still persist when opening the scene ā€œUMA DCS Demo - Simple Setupā€. Iā€™ve tried switching to my laptop on the same branch but the problem is still not resolve, I mean that doesnā€™t make any sense.

Yeah - this really sounds like the shaders arenā€™t compiling right. I have updated the version of Better Shaders, and regenerated everything for the next update. You might try pulling the ā€œFeature-13ā€ branch from Github, and seeing if that resolves the issue.

has this been fixed yet? The bottom image Iā€™m also getting using URP

Here you see my issue (see picture). When I hit any of the force regenerate buttons on the right, the issue is fixed.
When I call dynamicCharacterAvatar.BuildCharacter(); the shaders become normal again but I canā€™t use this as this also does something weird with the character bones and EnemyAIā€™s (asset store package) setup stops working.

So, is there a way to fix this without calling BuildCharacter? Also; characters generated with UMARandomAvatar donā€™t have this issue. I think there is a bug with how shaders are generated upon run time using the DynamicCharacterAvatar? Really at a loss here.

Ok just a quick update. It actually works, after pulling the branch ā€œFeature-13ā€ and reinstalling URP (again). I actually fixed it. Thanks for your help man! I really appreciate it.

1 Like

Please review my suggestions above, and also try the updated Feature-13 branch. If this does not solve it, please let me know.