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 Splines, this helps immensely. Thank you.
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
  Generator gameobjects missing offset and rotated beewhale 5 463 08-30-2026, 07:51 PM
Last Post: beewhale
  Create Game Object Renaming Options rickgplus 1 1,236 09-23-2025, 09:33 AM
Last Post: _Aka_
  How to rotate generator asteroids patndan74 6 4,490 05-08-2025, 10:07 PM
Last Post: _Aka_
  Maintaining vertical orientation of extruded meshes rickgplus 3 2,896 01-24-2025, 09:24 PM
Last Post: _Aka_

Forum Jump: