Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch processing of the Generator to create a bunch of Meshes
#2
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:
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.
Reply


Messages In This Thread
RE: Batch processing of the Generator to create a bunch of Meshes - by _Aka_ - 10-20-2020, 11:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 10 04-03-2024, 03:16 PM
Last Post: _Aka_
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 5 03-27-2024, 07:25 AM
Last Post: amutp
Heart Create beautiful curves ShiroeYamamoto 3 11 03-26-2024, 06:25 PM
Last Post: _Aka_
  Generating GO only on CPs in Generator GameDeveloperek4123 1 7 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: