Unity freezes on Quit (4.3)

Unity always freezes whenever I hit Quit. I have to open up the Task Manager and force quit the process. Anyone have any idea why this is? I’m using Unity Pro 4.3 on Win 7 64-bit machine, everything’s nice and updated.

(I know I know, if it only happens on Quit why does it matter anyway. But it is pretty annoying having to force quit, even if I’m just restarting the editor.)

I’m using Windows 7 and am a Unity noob. I used to do a lot of batch programming about 20 years ago, so I put together this old DOS batch file to launch adb.exe before running unity. You can create a windows icon to this batch file. When you double-click the icon, it launches the Android adb.exe, then launches Unity. I guess that when you launch Unity, if adb.exe is already loaded, it doesn’t try to load the rogue version. I have been able to successfully execute a scene and exit unity multiple times without it freezing. Batch file listed below: I had to insert extra line feeds to make the batch file readable. Past into notepad and save with the .bat extension.

@echo off

REM edit the next line to reflect your Android platform-tools folder

cd C:\Users\user\workspace\android-sdk-windows\platform-tools

adb devices

cd "C:\Program Files (x86)\Unity\Editor"

unity

Powershell to launch Unity and kill ADB.EXE process when it is launched.