Profiler, in published app

Hello,

Is there a way to get access to the variables that are printed in the profiler? In normal app runtime.

I am mainly interested in ms timers, draw calls and vram usage.

Thanks,

If it is published engine, then it will not include profiling code, so most of it wont be available. But some will, check out stats property on Application, something like: pc.app.stats. When you open published game, bear in mind, from playcanv.as it is served by default in iframe, so your console wont be in right window context. Add /e/ before /p/ in url, to make it without iframe.

2 Likes

Thanks a lot @max, this makes sense.