Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Infinite loop in FixedDistance mesh generation
#6
(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 Sad 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.
Reply


Messages In This Thread

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to generate UVs along deformed and copied mesh? kubak 1 320 03-18-2026, 08:34 PM
Last Post: _Aka_
  Replace deform mesh on volume spots Kokoriko49 1 2,325 06-09-2025, 06:49 PM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 3,637 02-14-2025, 07:11 AM
Last Post: vatan
  Create Mesh Node, Make Static Options rickgplus 1 1,833 01-23-2025, 10:12 AM
Last Post: _Aka_

Forum Jump: