Hi Jonathan, great course so far, but I'm having trouble with my water prefabs. All of the water prefabs show up as pink disks or rectangles. Is this to do with some sort of rendering/shader settings?
Yes that's correct. Usually it turns up pink if the material used for that object is missing. The water prefabs have special shaders so it'll probably be better just to reimport the package to see if it helps.
Thanks Jonathan. I tried reinstalling the environment asset package but to no avail. Then I realised that there are some files that go with this course, and after adding your TerrainGeneration_ProjectFiles package it worked just fine. Cheers!
Glad you were able to get it working, but it's possible your Unity installation is missing some files. All the project files provided came from my install of Unity.
Adding to this, newly installed Unity 5.3.5f1 Personal, I have the same thing going on. Environment Asset Package import results in broken shaders FX/Water4, FX/Water and FX/Water (Basic).
When I look at the shaders in the Inspector, these shaders have an error: undeclared identifier 'unity_ObjectToWorld'
According to http://forum.unity3d.com/threads/_object2world-undeclared.385227/ it looks like fairly recent changes resulted in an automatic conversion between _Object2World and unity_ObjectToWorld. For some reason, though, unity_ObjectToWorld is not available in this context. If I manually change these back to "_Object2World" the shaders stop being pink, but they still don't work correctly (flat and blue).
I'm still investigating whether we're running into version incompatibility or what's going on, but this may be something that others run into also.
It looks like there are known issues with the shader API at present: http://answers.unity3d.com/questions/1190649/basic-water-shader-error-message.html
Replacing all instances of unity_ObjectToWorld with _Object2World resolved the issue for me. If people aren't comfortable editing shader source yet, chrispytwitch reports that working versions of the shaders are included in the project files.
Thanks for the info. I've had issues with the water prefabs before in earlier versions of Unity (Unity 4). Seems to be a common issue. You can submit a bug to Unity if you go to "Help>Report a bug" within Unity itself.