smoore2171

Results 14 comments of smoore2171

It's this section. There must have been some side effect to setting the shader in 2019.3 that they resolved in 2021... ` // You have to release shaders. Material[] mat...

Idk if you want to wrap that in unity version preprocessors, as I'm not clear on what resetting the material shaders was doing. It claims it is releasing shaders, but...

Correct, but only on 2019.3. On 2021, it worked with and without reloading the shader.

One somewhat hacky workaround is to simply store off all of the material inputs and manually send them back into the shader after reloading it.