So I’m working on changing from my custom solution to the actionmanager, but even if I have no actions tied to it it’s eating a lot of fps. Especially on my iPhone X it becomes very noticeably choppy, it’s fine in the simulator but you notice it a lot on the actual devices.
Is this a bug? Or should I be implementing this differently? What could be causing the stutter?
I know it’s also possible to add the actionmanager to the scene, but with my setup it would be ideal if I could have them attached to the objects in the scene that need to react to clicks.
Here’s a repro, this will work fine in an emulator, but it gets choppy on my iPhone, on the Pixel 6 I have for Android it goes from 90 fps to 70 when you’re just clicking on an object which is better but also not great:
The same scene in the playground on the iPhone doesn’t stutter and stays at 60fps:
Let me know if this is a bug/expected behaviour/wrong implementation/something else