02-18-2024, 04:46 PM
Hello, apologies for the late reply- not been able to work on this for a bit.
Seems to happen in CurvySpline Refresh. Also getting allocations in the generator- I assume that is because I am moving extruded splines. Is it possible to avoid allocations on that too? Not too bad if not as I can work around it. The main thing I need is the spline to match, so good to know that should work without allocations.
If I disable the extrusion, and comment out:
No more allocations. If I use that line with the extrusions disabled, still allocations. If I move the spline from child of the generator objects, no allocations. So I assume spline is still finding the components and doing something, even if disabled?
Seems to happen in CurvySpline Refresh. Also getting allocations in the generator- I assume that is because I am moving extruded splines. Is it possible to avoid allocations on that too? Not too bad if not as I can work around it. The main thing I need is the spline to match, so good to know that should work without allocations.
If I disable the extrusion, and comment out:
Code:
controlPoints[i].SetPosition(anchors[i].transform.position);
No more allocations. If I use that line with the extrusions disabled, still allocations. If I move the spline from child of the generator objects, no allocations. So I assume spline is still finding the components and doing something, even if disabled?