This question was
closed Jun 14, 2016 at 07:02 PM by
BongWater for the following reason:
Problem is not reproducible or outdated
Problem with instantiated prefabs. Object stays dark
So I've download a grass pack from the assest store. I'm using the prefabs(grass') as an array, so I dragged and dropped them into the array section of the script. Everything works fine, it spawns as it should (like the coins and enemies using the same script) but when the grass instantiates its dark. it stays black even when a light is shined directly onto it. this isn't happen with the coins (also an array) or the enemies. I'm using unity 5.3
Comment
Answer by Gamesearch · Apr 07, 2016 at 05:42 PM
It could be that you set the size of the Prefab to 0, which should be atleast 0.000001.
Sadly that's not the problem as the prefabs are set to spawn at a random size between 0.2 and 0.5