Blender model has some weird behavior

Hey! So I am just experimenting with something I wanted to do for a very long time. And it is going great! I wanted to be able to create low poly water. The code only works with unity planes. I made a blender plane with more vertices and as soon as I press play the model disappears. I don’t know why it does this. In my code all it does is changes the Y position of the vertices with some math to make it look like low poly water. As I said it works prefect with unity planes but doesn’t work at all with my imported blender planes.

Does unity not allow you to edit vertices from imported models?

Edit* No errors in console. I also tried printing the positions of each vert so I can see whats going on
and they all seem fine. I don’t know the issue. If you have an idea on whats going on I’ll take any help I can get.

@Breaking_Reality If it’s a blender model, it would probably be rotated along the X axis, so the Y direction wouldn’t actually be up, it would be to the side. Try setting it’s rotation to zero, and make it a child of a parent gameobject. Change the parent gameobject’s rotation instead of the mesh’s rotation :wink:

@F14M3THR0W3R Hey! You where right about rotation so I changed it to 0 0 0 and rotated the parent I gave it but it did not resolve the issue. I went in the code and I realized that I was making new verts (not adding verts) but making new verts not based on the meshes original verts. For some reason it still worked with unitys planes but thats why it wouldnt with blenders verts. I fixed it and the waves where happening on the Y axis but it was a flat wall with the waves on top not a plane with waves so I went in to blender and had to do some awkward things to the model but it worked! Thanks for your help!