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
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 21 04-17-2024, 10:57 AM
Last Post: _Aka_
  Adjust radius of generated mesh via script? Shackman 1 4 03-26-2024, 01:12 PM
Last Post: _Aka_
  Not seeing mesh extended after following YT PaulM 1 3 02-02-2024, 12:01 PM
Last Post: _Aka_
  Trigger Zones along Spline Mesh dlees9191 1 5 01-05-2024, 10:18 AM
Last Post: _Aka_

Forum Jump: