2
votes

I have a simple scene with a Terrain object, trees, detail, water and fog. In the editor it renders exactly as expected:

Editor Render

But when I build it and run, it comes out sans textures, lighting or really any shaders:

http://i.imgur.com/7JZvygd.png

I'm sure it's something silly I'm missing, but I searched other questions first and didn't find any with solutions that worked for me.

Any ideas what's happening here?

1
It is probably your build settings. I can't say more without more information. - apxcode
What additional information would you like? I've tried it on 2 different GPUs, one integrated one dedicated. I'm building windows x86. I've tried Dev and not. - digdig
Are you using DirectX build? Are you using Vertex lit? - apxcode
I'm forcing dx11 with -force-d3d11. Unity crashes if I don't. - digdig
That lead me to the answer! Thanks! It turns out I had forgotten to check "Use Direct3D 11" in the shared build settings. - digdig

1 Answers

1
votes

Check that you are using DirectX on the build. Make sure it says "Use Direct3d 11" in the shared build settings.

enter image description here