Services Core generating garbage every frame

Hey,

Just curious why the services core ActionScheduler class is generating 24 bytes for an empty list every frame even if there are no actions present.

Offending code in ExecuteExpiredActions():
List scheduledInvocationList = new List();

I’ll just leave it here and hopefully it might actually get changed. Probably written by the same person that wrote the Mobile Notifications package that also had the same thing in older versions :roll_eyes:

What version of services core are you using?
There is a recent fix which may fix your issues in version: 1.7.1 com.unity.services.core

Ah yes my bad it was in 1.6.0, will make sure to update when I can.

1 Like