10-09-2013, 02:07 PM
(10-09-2013, 01:51 PM)Jake Wrote:(10-09-2013, 01:10 PM)lelag Wrote: I have a similar issue, Unity Freezes and goes out of memory. I was just playing with Mesh Generation, so I couldn't say what's buggy or not...
Now my scene is fucked up, can't access anymore :p
Sorry to hear that The above error was fixed in 1.51, so it would help if you can remember what exactly you did before Unity hangs.
I just tried to generate a mesh from my spline, then changed Extrusion Mode from Adaptive to Fixed Distance.
Made a couple of those generations on multiple splines, then i changed my scene and came back and Unity freezed.
And by commenting this :
Code:
case MeshExtrusion.FixedDistance:
/*float d = Spline.TFToDistance(FromTF);
tf = Spline.DistanceToTF(d);
while (tf < ToTF) {
scale = getScale(tf);
mSegmentInfo.Add(new CurvyMeshSegmentInfo(this, tf, d, scale));
d += ExtrusionParameter;
tf = Spline.DistanceToTF(d);
}*/
break;
Like someone suggested earlier, i could get my scene back.
From that moment I stopped playing with meshes and I'm only using "Adaptive".
Hope I could help.