02-05-2024, 10:06 PM
Hi,
I tried to reproduce your result but couldn't. Here is a script I attached to a spline:
using FluffyUnderware.Curvy;
using UnityEngine;
public class tesT : MonoBehaviour
{
void Update()
{
var controlPoints = this.GetComponent<CurvySpline>().ControlPointsList;
for (int i = 0; i < controlPoints.Count; i++)
{
controlPoints[i].SetPosition(Vector3.forward);
}
}
}
At runtime, there were no allocations from this script. Can you please profile with the Deep Profiling option, and then send me a screenshot of the memory usage of the problematic Curvy Spline method(s)?
Thank you
I tried to reproduce your result but couldn't. Here is a script I attached to a spline:
using FluffyUnderware.Curvy;
using UnityEngine;
public class tesT : MonoBehaviour
{
void Update()
{
var controlPoints = this.GetComponent<CurvySpline>().ControlPointsList;
for (int i = 0; i < controlPoints.Count; i++)
{
controlPoints[i].SetPosition(Vector3.forward);
}
}
}
At runtime, there were no allocations from this script. Can you please profile with the Deep Profiling option, and then send me a screenshot of the memory usage of the problematic Curvy Spline method(s)?
Thank you
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.