Profiler: Add functionality to get more statistics

I wonder if it’s feasible to add the following functionality, since you’re adding various Profiler improvements in 2017.3.

The Game View features the Statistics Overlay, which displays batches, triangle count, Shadow Casters, SetPass Calls and so on.

Having access to this information in a development build (outside editor) would be extremely useful.

I need this in a build, because we run automated performance tests, where the game is started in a special mode that loads every level, places the camera at specific positions, measures the performance and submits the result to Splunk.

It would be very useful to be able to include the “Render Statistics” in this report as well, because this would allow us to automatically detect whether a specific part in the game issues too many SetPass Calls for example.

Having this information available in a development build is helpful for the QA- and Art-department as well.

I believe the game (in development mode) does track these statistics, since if I attach a Profiler, I can see the Render Statistics.

Would it be possible to expose the “Render Statistics”, basically everything that is displayed in the Scene View Overlay to the Profiler API for example, which already contains various “GetMemory” API’s. *

1 Like

I agree

The debugging tools and stat info avialable in unity for development builds outside of the editor isn’t good at all.

1 Like

Hi,
Thanks for the feedback!

We had this in plans and are currently working on generalizing stats data collection and providing Profiling.Counter API similar to Recorder to extract the data in the player.

2 Likes

How do you output stuff to splunk?