Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about generator
#2
Hi
Sorry for the late reply: I did answer the day you posted, but the answer was not posted, probably because of the problematic internet connection I am having now

So I was saying that CG (Curvy Generator) uses pooling to avoid recreating game objects. There are still some .net objects that get allocated at each CG refresh, but there aren't that many when running outside of the editor. In editor there are some more allocations to handle things related to the editor. I am working on a big update that will take at least 6 months to be finished, and part of that update is to reduce even more the allocations done by the CG

Regarding performance tips, I recommend this link
https://curvyeditor.com/documentation/performancetips
Also, I recommend to use Unity's profiler to see exactly what is taking the most time and memory. When doing so, and if you profile inside the editor, try to distinguish what is part of editor only code, and that will not be part of a build. It is usually code in the Editor folders, and code surround with a #if UNITY_EDITOR   #endif

I hope this helped
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
Question about generator - by Mos Def - 02-09-2021, 08:50 PM
RE: Question about generator - by _Aka_ - 02-11-2021, 09:04 AM
RE: Question about generator - by Mos Def - 02-11-2021, 06:53 PM
RE: Question about generator - by _Aka_ - 02-11-2021, 08:54 PM
RE: Question about generator - by _Aka_ - 02-11-2021, 08:55 PM
RE: Question about generator - by Mos Def - 02-12-2021, 08:16 AM
RE: Question about generator - by _Aka_ - 02-12-2021, 08:25 AM
RE: Question about generator - by _Aka_ - 04-10-2023, 10:20 PM

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
  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: