- Home /
What profiling options are available for web builds?
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 http://docs.unity3d.com/Documentatio.../Profiler.html, 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/Documentatio.../Profiler.html and http://docs.unity3d.com/Documentatio...r-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.
Answer by striche · Mar 25, 2013 at 05:11 PM
Looks like I needed to turn on the developer channel in the Web Player. http://docs.unity3d.com/Documentation/Manual/WebPlayerChannels.html