Profiler Options for Unity Web Player

We will begin a Beta release of our new Facebook game shortly and are looking into options for profiling web builds. The goal here is to get the same detailed profiler information we get in the editor, while running a web build on a lower-end target device.

Looking at the documentation at Unity - Manual: Profiler overview, I see nothing about remote profiling on the web, just iOS and Android. Does this mean remote profiling on the web is not an option?

I have looked at http://docs.unity3d.com/Documentation/ScriptReference/Profiler.html and http://docs.unity3d.com/Documentation/ScriptReference/Profiler-logFile.html. Based on the documentation I’m seeing there, it SHOULD be possible to have profiling information dumped to a log in the same location as the Web Player log. However, this does NOT appear to be working. Even after setting enabled to true I see no new log file appearing in the same location as Player.log and WebPlayer.log. I’ve even added dummy Begin/End sampling calls and a logfile assignment, just in case those were required to kick start things, but still nothing appears.

At this point I’m at a loss. Unity has some nice profiling tools built seen, but I currently see no way to leverage them on a web build. If anyone has any information, advice, or suggestions I would greatly appreciate the help.

Looks like I needed to turn on the Developer channel in the Web Player. http://docs.unity3d.com/Documentation/Manual/WebPlayerChannels.html

Yep, use development version of the WebPlayer, then in build settings you need to check development build and auto-connect the profiler, click build and run. You can then select the webplayer build in the profiler under Active Profiler.

Thanks,
Chris

Is this still working in Unity 4.5.3, on Mac OS? I have Unity Pro and Autoconnect Profiler appears in all other build targets that have this feature - but with the Web player, even when I have checked Development Build, only Script Debugging becomes active. I have activated the Development Release Channel in the Web player, just to be sure in case the Unity Editor knows what I’ve set up there.

But Autoconnect Profiler is still deactivated.

I’ve just double-checked and it’s the same under Windows.