10-20-2020, 11:16 AM
Hi,
The reason behind your issue is that you are using the generator before it being initialized. This can happen if you are calling it in the Start method, depending on the order of execution of scripts. The solution is given here: https://curvyeditor.com/documentation/generator/start
In your case, that would mean:
Let me know if you still have issues
Have a nice day
The reason behind your issue is that you are using the generator before it being initialized. This can happen if you are calling it in the Start method, depending on the order of execution of scripts. The solution is given here: https://curvyeditor.com/documentation/generator/start
In your case, that would mean:
Code:
IEnumerator Start()
{
// Wait until the generator is fully intialized before accessing it:
while (!generator.IsInitialized)
yield return null;
if (doRendering)
{
...
}
}
Let me know if you still have issues
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.