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
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
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
  How to rotate generator asteroids patndan74 6 3,839 05-08-2025, 10:07 PM
Last Post: _Aka_
  I have to refresh generator manualy :( GameDeveloperek4123 4 2,991 10-07-2024, 05:36 PM
Last Post: _Aka_
  Bug: Save Generator Outputs still saves outputs if object is disabled curvymesher 1 1,720 08-30-2024, 09:19 AM
Last Post: _Aka_
  How can I set the generator to stop updating? emerrryjones 1 1,571 07-26-2024, 10:07 AM
Last Post: _Aka_

Forum Jump: