I have a problem with building my project. The buttons “Build” and “Build And Run” are grayed out in the build settings and I cannot build either for Windows Phone or Windows Store Apps. I have Windows 8(not professional) and I know that the specifications say that you have to have Win 8 Pro, but I managed just fine(building and running the project on my Lumia 920) before the 4.3 update.
I also updated from 8 to 8.1. And to VS Express 2013 and Windows SDK 8.1(not the desktop one).
So the question is. 1) Do I have to have Windows 8 PRO 2) Why didn’t I have to have it in 4.2, if I have to have it now 3) If the problem is not with not having Win 8 Pro, can it be with Win 8.1?
EDIT: Also it says “You have to use Windows 8 or greater for this build.” in the Build Settings window
Could you show us a screenshot of how the build window looks on both Windows Store Apps and Windows Phone 8?
Also, since you upgraded to VS 2013, did you actually confirm that you were able to build standalone windows phone 8 apps (template from VS would do just fine) without Unity?
I forgot to mention, that I kept Windows Phone SDK 8.0 on my computer, so I still have VS 2012 for WP. I used that to successfully deploy a template app to my Lumia 920, just like you said.
So now I don’t know if Unity is just confused or what? I have read that you still need WP SDK 8.0 for building on the WP platform, but that you can use VS 2013 for Windows Store Apps. I am interested in developing for WP for now, because that’s the platform I have on the phone(other phone platforms later). The problem is that this is the only phone I have and I can’t test the app with the emulator, as you need Hyper-V, which in turn needs Windows 8 Pro. I can however (obviously) successfully deploy it to my phone and test it there.
So this problem is quite annoying, because I can’t test my app…
Thank you for your help! If you have any more suggestions, please have a go
Ok, this is weird. I now tried to “forcefully” build and deploy the game. I went to File->Build And Run and it was trying to build the game, but had a Visual Studio error. I then opened VS Express 2012 for Windows Phone and tried to deploy the Project Solution from there. I got an error something along the lines of ‘no overload for method for UnityPlayer.UnityApp.Obscure();’ or something like that.
from App.xaml.cs and the project built successfully and deployed to my phone. After that I tried to “forcefully” Build And Run the project directly from Unity again and it succeeded! I can now Build And Run directly from File->Build And Run, but I cannot do it from the Build Setting, because of the same problem as before.
I wouldn’t call this a solution, though, as the first problem still exists and I had to delete some code from App.xaml.cs
The fact that it errored on building on App.xaml.cs file is natural if you build over old project - its template got updated. I wouldn’t advice deleting those lines - get them from the updated template (under Editor/Data/PlaybackEngines/WP8Support/Template or just rebuild the project from scratch).
As for the bug: please report it and include every single detail of your computer hardware and software setup - this is the first time it pops up as a bug, and might be related to your setup somehow.
One more thing: did you try reinstalling Unity Editor? Something might have gone corrupted during upgrade from windows 8 to 8.1.
I tried reinstalling Unity, but the same problem persists. As to the template thing - I don’t quite understand what you mean. How can I update it? Also what do you mean rebuilding from scratch?
Ok, I will report the bug. What do I have to include in my report concerning my software setup?
My god! I just realized what the problem is before trying to report the bug… I was in the Report A Bug window and I looked at what the report contains and it said that I have Windows XP, SP3 installed.
I then remembered that when I upgraded to 4.3 it was crashing in the beginning because of issues between the Intel Integrated graphics card and my dedicated graphics card. Because I didn’t know of the issues between the card then, I turned on compatibility mode on the Unity shortcut to Win XP SP3, if that would help. After I solved the issue with the GPUs interfering with each other(I just had to set the NVIDIA GPU to the preferred graphics processor), I forgot all about setting the compatibility mode to Win XP SP3… After setting it back to normal it now works like before. That was the reason that Unity thought that I have a different OS.
I’m sorry for wasting your time, Tautvydas… Thank you for helping as much as you could!
EDIT: Can you set the thread’s name to SOLVED, Tautvydas?
Just wanted to tell that this bug is there with win8 platform too. I just tried to deploy from unity3d 4.3f4 version to wp8 device. I did exactly same, did not make completely new build but update my existing one. got the same error.