- Home /
Invisible trees?
So I recently started work on random terrain generation for my game, and it's been going great, until I encountered a problem with trees. I randomly place 100 trees throughout the terrain every time it's generated, but whenever I place them they are invisible. They were working fine before I started placing them with the script though, does anyone know what's going on?
Comment
Best Answer
Answer by voporak5 · Aug 05, 2013 at 03:53 AM
are their meshes on?
do they have materials with textures?
Sorry I should have closed this I figured out the problem. I was creating a tree prefab and then using AddTreeInstance() and unity apparently didn't like that at all, so I just used instantiate and it works fine.