Good morning everyone! I cannot seem to get the grass generator script working. I tried a new scene, added a plane(in unity) and then used the component - Nature Grass On Mesh Generator. I select an approporaite texture within the inspector and nothing happens in the game view.
I receive the following OverflowException error at runtime:
I tried that as I saw a post before about finely tesselated geo. Per your suggestion I also created another plane in Maya (with a high tesselation count) I receive the same error in a new file as well. Thanks for any further help.
Ive scaled planes up massively and had no problems. I suggest doing a new scene, with different assets, make sure shaders appear in inspector etc. It can be tricky because theres different scripts/shaders in different folders. generally Its easiest to mod an existing example project when it gets complex, and the grass example is the most complex one Im aware of…good luck!
i can say i’ve used it a bunch and never had a prob with it. simply drag and drop and it just works™. i haven’t taken the time to look at the joe’s code. so admittedly i don’t really know what’s up. the other thing that comes to mind though, is i believe it uses the mesh combine util. do you have the standard assets imported? if you want, post the project and i’m sure we’ll have it figured in no time.
What if you do this: create a “simple enough” scene that has grass problems (it might be in your existing project). Select the scene in Project View, do Assets → Export Package, with all dependencies. Then send in the .unityPackage file via Report Bug.app.