Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generator threading

Does the Generator currently use any threading at all?

If not, could you maybe put all calculations for mesh and GameObject creation in a thread and then just do the Instantiation in the main thread? 

Also: I have set AutoRefresh to false but the meshes still get extruded without calling .Refresh()


Multithreading is done at the Curvy Spline level, but not at the level of the generators.
Right now, multithreading generators is not planned for the next update. But at some point I would like to make more optimizations to the generators, whether it is multi-threading or some other optimization.

About AutoRefresh, can you give me your reproduction case, The one I tested and that worked properly is:
  1. create new scene
  2. create a generator
  3. set its AutoRefresh to false
  4. add a shape extrusion template to the generator
  5. set the spline of the input module of the template: the mesh is not extruded
  6. set AutoRefresh back to true: the mesh is extruded
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.
Hi, regarding the generators, do you have an ETA for an update with multi-threading? Or would you recommend doing it by myself. Because my game has a lot of splines and objects generated along the splines and atm the generation takes so long it's freezing the game and Unity and the meshes are not properly combined.
I have no ETA for now, sorry. Also, I spoke about optimizing the generator with whatever the profiler shows me to be the best way, which means that the ratio (performance gain)/(implementation time) might be more advantageous with some other optimization than multi-threading.
Is it possible for you to send me a project with said bad performances so I can use it as a benchmark? I might also find easy ways to improve the perfs for your case.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Hi, thanks for the update!

No, due to company policy it's not possible but we will focus on some other areas of the game now as there is still much other work to do and take a look at Curvy again in some months!

Thanks for your help!

Possibly Related Threads…
Thread Author Replies Views Last Post
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 12 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
  Generating GO only on CPs in Generator GameDeveloperek4123 1 7 03-04-2024, 11:06 AM
Last Post: _Aka_
Question Generator Canvas workflow issues Sacryn 1 7 02-02-2024, 11:22 PM
Last Post: _Aka_

Forum Jump: