Adding terrain crashes unity and game build
I am looking for help on an issue I am having with terrain. After adding a small terrain (25 x 25 x 50) with some minimal grass unity will crash and i'm not sure whats causing it.
It won't happen right away. I can place the terrain and grass but randomly unity will crash if the terrain is active. Removing the terrain fixes the issue. The same error occurs when building the game. It will crash after some time randomly during the game if the terrain is active.
I don't think this is a draw call issue as I have messed around with the detail resolution per patch and reduced my detail patches currently allocated down to 1 and the problem still persists. I have also tried running the terrain both drawn and not drawn as I only need the grass to show but no change.
Not sure if this is related but with the terrain active it was also crashing when I went to bake the lighting. I reduced the indirect samples and environment samples and and it now bakes without crashing immediately.
Your answer
Follow this Question
Related Questions
Can see objects through grass 1 Answer
Terrain : Detail paint isn't working on Unity 2018.2.0b11 2 Answers
How to fix grass sliding on terrain? (not a mesh grass) 1 Answer
Android App Crashes Randomly 0 Answers
Why are there stripes in my grass? 1 Answer