Author Topic: Memory management and best practices in Playmaker  (Read 251 times)

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 652
    • View Profile
Memory management and best practices in Playmaker
« on: January 08, 2021, 07:31:27 AM »
I am looking for a detailed and comprehensive explanation of the way GC allocation, heap management and clearing of data is controlled with Playmaker actions, and what are the best practices with these same actions, such as frequency of use, when to use the most demanding ones, what values to use and how to define them, etc. There are basics to know (such as explained here and we see that the foreach issue is now obsolete because of Unity's move out of mono at large) but they don't provide examples of practical applications for Playmaker per se and these notions are definitely complex enough for people who would have little to no coding background. The topic does not even limit itself to these actions but to the overall discipline of how to assemble your FSMs so as to minimize cases of unnecessary memory allocations. That, and knowing how to look for excessive consumption of resources and perhaps - god forbid - even leaks.

So, tips and tricks anyone?