Hello! I have a script that generates a 64x64 plane,then 1280 objects that copy that mesh.All this happens in a single frame without dropping the FPS too much and keeps the VRAM memory unchanged.Then i want to edit every object's mesh but for some reason for every edit it eats up VRAM memory and as it will reach the max (256 mb in my case) the game will just freeze at around 0.1 FPS.This is terrible!Why is this happening?How can i fix it?
It seems to be eating up VRAM even if i just check its MeshFilter.mesh
Why is it even messing around with VRAM??I must mention that they all have their MeshRenderer disabled,so that won't affect the performance.
Please help me! Thank you!