WebPlayer Debugging

Hi all,
I´m working in a webplayer app. and I would like to debug it at runtime, working inside firefox.
I´ve seen that I can check ‘Development Build’ and ‘Script Debugging’, but I can´t attach it in the MonoDevelop.

I´ve been reading http://unity3d.com/support/documentation/Manual/Debugger.html and it says that only suports Unity Editors, desktop standalone players, Android and iOS layers.

So, Is there a way to debug it at runtime inside a browser?

Thank you very much.

Yes there is, you need to install the debug webplayer plugin

Hi,

where can I find this mysterious “debug webplayer plugin”? Searched already, but no luck…

Is this still supported?

If you are asking if you can attach to the Unity Web Player in your browser? Yes. I just had to learn this and responded with the steps here to an older thread that no one answered:

http://forum.unity3d.com/threads/108925-Attaching-monodevelop-debugger-to-Unity-web-player-process

Basically, you need to right click on the Unity player in the browser and choose Release Channel → Development (Assuming you set the build settings to development and script debugging). Only then can you attach to the process, otherwise it won’t ever show up unless you set the Release Channel in the context menu.

-Ben

I have also been having a lot of issues with this and was going around in circles. I found that it was a result of the default settings that the webplayer was using - it was starting with the release channel set to Stable and Development on and it seemed to be having issues picking up the changes. Still unsure why this was the case and haven’t been able to recreate it but it was eventually resolved by:

  • Switch webplayer release channel from Stable with Development on to Release with Development on
  • Restart browser
  • Switch release channel to Release with Development off
  • Restart browser
  • Switch release channel to Release with Development back on

There may be unnecessary steps in there but hopefully that will save someone some frustration if they are in the same situation.

A

Does anybody have any idea why I wouldn’t see these options in my WebPlayer (the channel options)? ‘Development build’ is ticked when building, as is ‘Script Debugging’.

Try holding Alt/Option while right clicking.

check this tool