#Unity shaders suddenly broke in game

16 messages · Page 1 of 1 (latest)

indigo tusk
#

Hi, so I have a failure on one of my hard-drives, which caused the unity editor + the unity hub program to be deleted. The project files (thank god) were on a separate hard-drive so they were fine. Upon installing the same unity hub, and the same unity version, booting up my project file everything is normal. All the shaders work perfectly fine (as they did before). But now whenever I create a new masterbundle, for some reason, the shaders (mainly the ones I use for moving shaders) arent being added to the masterbundle, and I have no idea why. If someone has some insight on this I would love the help, I have been using these shaders for 2+ years, so I know the game will work with them, and if I revert the mod to the old masterbundle (masterbundled before my hard-drive failed) all the shaders work in game perfectly. Also, none of the models, animations, sounds broke, only the shaders that move broke. So i'm assuming when installing unity i've messed up, but both times I was on unity 2020.3.38f1, and all of the ones that require the moving shaders have always required me to add "Asset_Bundle_Version 4" in the bottom of the dats.

#

This is how that gun is supposed to look

soft sonnet
#

Did you use amplify or shaderforge? or pure script. I had the same problem, but I got the fix for it. Try re-adding the shaders to the models or try copy pasting the shader (Code or BP) to a new shader and try re adding it like that.

#

The copy paste method works 100%

#

If that doesn't work you might have the wrong Unity version with the updated rendering pipeline.

indigo tusk
#

I used a payed, vrchat shader for the moving textures

#

so im not sure what its on if its amplify or shaderforge or a pure script, i could tell you the name but the bot keeps auto deleting it

#

poi

#

bruh

#

ok its the second part that breaks it

#

poiymi inbetween the y and m add a o

#

I was also on unity version 2020.3.38f1, but as of recently I tried updating to the /support unity one

#

and that didnt help

indigo tusk
#

swap the graphics api in your unity project players setting from opengl to directx