Hello everyone. I recently started the porting of our game for the Nintendo Switch.
I have noticed that the StateHandler Update is very slow and it takes a big chunk of the perfomance. I'm using AC v1.74.2. I know that version is quite old. Updating would be very troublesome. But if there have been considerable updates to performance in the latest versions, we might consider it. Is there an official implementation of Nintendo Switch in Adventure Creator? Any help is appreciated.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Expand the StateHandler.Update foldout - StateHandler itself isn't the source, just the starting point of AC's main update loop. What is the full Hierarchy?
Hi. Sorry. I attached a new image including the entire dropdown of the StateHandler update in the profiler. I'm happy to provide more details. Thanks!

I'm not seeing anything in particular standing out, but this is still only one-level deep. For a given contributor, you'd need to expand the foldouts further to determine the source of spikes.
Is this a 2D or a 3D game, is the performance like this at all times, and is it also the case in a fresh, empty, AC scene?
Your first screenshot's PlayerLoop has a Time of 127ms, while StateHandler only contributes 28ms towards that - is there anything else beside StateHandler that shows where the rest of the time is coming from?