Hi everyone! I have been scouring the search function to see if there was a mention of my current problem and found nothing, so I decided to create a new thread. If this is already solved somewhere else I apologize and would like then to be pointed in the right direction.
I’m using speedtree with Unity 6 and when I make a build for PC the trees appear pink. That’s it, very simple. I’m not sure why it happens because in the editor it works fine.
I did have this problem previously, on Unity 2023.2.3f1 but solved it by erasing the Library folder and reimporting the project, but on Unity 6 this seems to not be fixing anything.
The trees are procedurally added to the world on start, so maybe that could have something to do? I have tried putting a tree with the material in the scene with scale of 0 to force the dependency before building but it’s not working.
Alternatively I have also added the shader to the “Always include” option in the project settings and the build throws an error that there are too many shader variations (over 18M) and finishes unsuccessfully.
Any light shed on this would be highly appreciated.