Is the use of the /Resources folder in /Generated Shaders necessary?
Hello!
Is it necessary that the codegen shaders in /Generated Shaders be included in the Resources AssetBundle? Moving them out of that folder still renders things correctly in the Player and reduces Player build times in an empty project.
I did not find any use of the Resources API to load the shaders in /Generated Shaders/Resources. I only saw the Resources API used for loading the assets "Shapes Assets" and "Shapes Config".
yep, they're there for immediate mode drawing specifically!
the issue is that there's no way for Unity to detect whether or not certain shaders are used when they are loaded through code, so they're always included as a workaround