Hi everyone,
I’m just creating some terrain as I expect anybody would. I have simple terrain with trees and when running in the editor, all appears to be fine.
When I build the application to run it externally, the tree materials seem to disappear and they just appear dark/black. Can still run past/into them (colliders). This error isn’t happening 100% of the time however, and I can’t seem to replicate the error to pin point the problem.
EDIT: I’m just doing some testing and have found so far that for some reason, the first time I run the build it works fine, everything appears as it should. Then if I run it up again, the error described above occurs.
EDIT: I seem to have found the source of the problem. I had a look at the output log for the build and on the first runup, as expected there were no errors in the log. However, when I run it up the second time, i’m getting an error saying: “The tree Sycamore must use the Nature/Soft Occlusion shader. Otherwise billboarding/lighting will not work correctly.”
I can see this shader etc in the developer and it’s obviously finding it the first time, but why would it not find it the second time?
Anybody got any ideas at all?
Thanks!