Is there a way to get the count of objects currently hold by ObjectManager?

How can I elegantly find out the number of Entity Objects currently being loaded in memory by ObjectManager?

No elegant way, just a workaround that is subject to break in future versions:

type
  THackObjectManager = class(TObjectManager)
  end;
...
ObjectsInManager := THackObjectManager(Manager).ObjectMap.GetList.Count;

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.