x


VRAM Generating Lag on Mesh Generation

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!

more ▼

asked Nov 30 '11 at 08:47 PM

Ted 1 gravatar image

Ted 1
1 5 6 10

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Anyone,please?Is there a way to generate a mesh without using VRAM?Caching it to a file or something...?

more ▼

answered Dec 01 '11 at 09:32 PM

Ted 1 gravatar image

Ted 1
1 5 6 10

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1403
x204
x96
x13
x8

asked: Nov 30 '11 at 08:47 PM

Seen: 658 times

Last Updated: Dec 01 '11 at 09:32 PM