3 ms·
I was once pulled on to a small unity mobile game that was being released by a small studio in the iPhone 4 days to help fix performance issues. After looking a
by olig15 3y ago
I was once pulled on to a small unity mobile game that was being released by a small studio in the iPhone 4 days to help fix performance issues. After looking at the frame capture, I could see that the entire scene was being rendered about 5 times per frame from different angles. Turns out the team had a bunch of cameras enabled, but because they only saw the rendering from the last camera, they just edited that one.
I sometimes think Unity makes making games TOO easy, and you end up with people that have no technical knowledge of the way games work so they can’t fix/diagnose the most basic things. Obviously the game runs slower when you render the scene 5 times, but they didn’t even think to open a frame capture tool.
The fix for the issue that plagued them for months, was to uncheck the ‘enabled’ box for these unused cameras. Probably took 30mins to diagnose and fix.