NetSync Tutorial Locking up when stoping play

ktweedy1 ✭✭
edited November 2010 in Photon Server
I have been playing with the NetSync tutorial with Unity 3.1. Don't know if this problem happens with Unity 3. I am pressure I had this all working fine in Unity 2.6

What is happening is everything seems to be working fine, it logs in, it moves the character around fine. But when i hit the stop play button Unity totally locks up. The UI is unresponsive. I have to use Task Manager to kill the process.

I tried have tried updating all the DLLs to Photon 2.2.2. I had to make few minor edits. I get the same problem.

I am going to run it from MonoDevelop and see if I can track down anything.

Anyone know of any reasons it could be locking up like this?

UPDATE: I did find out this only happens if I stop Unity while it is joined to a game. If I leave the game then stop paying Unity it does not lock up.