since Unity3: Tree lighting problem in stand-alone application

I encountered a quite strange problem with the tree lighting (trees from Unity-Terrain-Assets). Everything looks correct in the editor - but when I build a stand alone version I get this result:

It happens to all trees and bushes, when they are switched from billboard to a real 3D-Object.

In Unity 2.6 everything worked well, since Unity 3[.1] this effect occurs on my laptop only (Inspiron9400/Geforce7900GS) - no problem at my PC (GTX260). So as the Editor shows it right it can’t depend on the graphics card, right?

I assume a problem in the tree shaders or build process? The project is set to Forward Lighting. The trees are using the Nature/Tree Soft Occlusion Shaders - nothing changed there.

Thanks for any help!

430744--14940--$tree_bug_standalone.png

with “the editor shows it right” you mean in play mode right? cause the editor view isn’t very representative.

what I would recommend to do though is checking out the terrain settings on detail as well as the quality settings

yes, I mean the play mode and also the scene view. Everything correct there.

All settings are within the slider borders and are not changed via scripting.

Bushes are not infected, only trees. I also checked the “Refresh tree and details” button under terrain. I have the same problem on all 3 terrains (different scenes) in my project - so it is not a problem of one scene with strange settings - seems to be a general problem independent on size and detail quantity.

Quality is set to fantastique, but I checked all other settings: every setting the same problem. Fullscreen or windowed - no effect.

I hope you have some more ideas?

I’ve just confirmed the problem on a second OS. Problem occurs on Vista and Windows7.

In the Editor/Scene view the trees are faded in (terrain setting Fade Length = 5) but in the build version the trees are switching at once - no fading.

independent from lighing method: vertex, forward, deferred
webplayer standalone have the same problem

I did try your webplayer and yes…ther is the problem.
8600 GTS: perfect
7900 GS : issues

431661--14961--$8600_GTS.jpg
431661--14962--$7900_GS.jpg

Thank you!

So this is a general problem with the Geforce 7900 GS.

in my Thread i do many test with different graphic cards pre-pixel shader 3 and i obtained the same bad result.
I think that is no a 7900 GS problem, but a general problem on not too new graphic cards.
I will test your player in other videocards.
bye

Shadow Bake test
http://forum.unity3d.com/threads/64896-Strange-problem-on-shadows-(unity3)-with-different-graphic-cards!

did you fix this problem?

3.2 fixes this

A similar thing happens for me, except that the problem shows up inside the editor as well: http://forum.unity3d.com/threads/153928-Rename-Alder-Tree-Asset-Without-Ruining-Lighting

My graphics: NVIDIA GeForce 6150SE nForce 430