I updated my development phone to WP OS version 8.10.12393.890 this week.
This latest build of the phone OS appears to break the deployment of apps to the phone from Unity v4.3.2 and v4.5.0f6.
The apps will build, but fail to deploy to phone, and then lock up Unity at the deploying player dialog box. The following error is in the Console:
Exception: Deployment failed. Output:
[15:06:27.627] Windows Phone 8 Runner started.
[15:06:27.627] Opening XAP file.
[15:06:27.627] Getting app id.
[15:06:27.642] Getting app icon.
[15:06:27.939] Looking for device.
[15:06:28.017] Connecting to device {30F105C9-681E-420b-A277-7C086EAD8A4E}.
[15:06:28.830] Installing app {388f5718-bb4f-4d55-b5b0-14b7b81f66eb}.
[15:06:29.377] Disconnecting from device.
[15:06:29.377] Deleting app icon.
[15:06:29.392] System.ArgumentException: The parameter is incorrect.
at Microsoft.VisualStudio.DeviceConnectivity.Interop.ConManServerClass.InstallApplication(String in_pProductId, String in_pInstanceId, String in_bstrApplicationGenre, String in_bstrAppIconPath, String in_bstrXapPath)
at Microsoft.SmartDevice.Connectivity.Device.InstallApplication(Guid productId, Guid instanceId, String applicationGenre, String iconPath, String xapPackage)
at Microsoft.SmartDevice.Connectivity.Wrapper.DeviceObject.InstallApplication(Guid productId, Guid instanceId, String applicationGenre, String iconPath, String xapPackage)
at Unity.Program.Run(Guid appId, String iconPath, String xapPath, Boolean test)
at Unity.Program.Run(String xapPath, Boolean test)
at Unity.Program.Main(String[ ] args)
[15:06:29.392] Exiting Windows Phone 8 Runner.
You can use the "Windows Phone Application Deployment (8.1) tool to install the app to the phone. The build appears to be successful and will run.
Using Unity v4.3.2 & v4.5.0
Using Windows 8.1 Pro (Update 2?)
Using WP OS 8.10.12393.890
Using Visual Studio Ultimate 2013 Update 2
Thanks,
-David
I have no issues deploying my game to my phone with Unity 4.5, same OS version 8.10.12393.890, Lumia 920. I can deploy directly from Unity ‘Build and Run’.
I have found that certain addons break deployment in 4.5. I can’t deploy to Windows 8 due to an addon (if I remove the addon I can deploy). Perhaps you’re having a similar issue? Can you deploy a clean sample project with just a simple scene?
Hello Pumpkinszwan,
I’ll try a bare bones project. So far I have tried building and deploying three different projects that worked fine before I updated my Lumia 1020 this week.
-David
I have run into a similar issue. I had to restore my system and I was not able to deploy to WP 8.1.(newest). I tried many uninstalls and reinstalls of Unity and VS2013 without success until now. After uninstall I installed Unity then Windows phone 8 sdk ( http://www.microsoft.com/en-us/download/details.aspx?id=35471 ) and it deployed without issues. I then installed VS2013 w/update 2 and so far all seems fine.
Have you tried Unity 4.5.1?
Unity 4.5.1 had no changes that could have affected this.
@drswodoba: did you check if this is happening on another PC? What happens when you try to build and run an empty project?
After a few hours installing and re-installing Unity versions, I think I have found the reason for my issue. It does not appear to be a Unity issue or an WP8.1, but is a Firewall issue.
This also appears to be the issue with my other post here: WP 8.1 build fails to create BIN and obj directories - Unity Engine - Unity Discussions
I don’t think Unity is playing nice with Zone Alarm on my PC. I usually install programs with Zone Alarm off, then let Zone Alarm figure out about the new install during first run.
It appears that Unity doesn’t always get configured correctly. What is strange is that I have had this issue after an install, after many successful builds.
What has made this difficult to diagnose, is that Unity/Zone Alarm are quietly failing and gave no clue to the reason for failure. That is, Zone Alarm never popped up and said there was an issue, and Unity never gave any error message that pointed to the issue.
I should have thought about a firewall issue sooner, my bad. But the random nice of this was driving me crazy. Worked one day, but not the next.
I think this issue is solved. The moderators may delete this thread as I doesn’t appear to be a Unity issue, per say. (Though a better failure method would be nice).
Thanks,
-David
I also am experiencing this issue with Unity and Win Phone. I reset my phone to 8.10.14176.243 but the problem persists. This problem occurs when deploying Universal apps and Win Phone apps using unity 4.5.4f1. When I plug in the phone the computer recognizes it and successfully starts the Windows Phone app on Windows 8.1. However, I do not believe this to be a Unity issue since Visual Studio 2013 also encounters the same problem while trying to deploy to Windows Phone. I will investigate that problem and post any solutions I encounter.