Hi All
Sorry for my ignorance but I built a Unity game and I would need to run it from this build in my Tablet (I tried to deploy it from Visual Studio by Remote machine but I have a problem that I could not fix it yet), for it, Could anybody help me with it?
Thanks for your time
Regards
Alejandro
To run apps on tablet I do this:
- Run remote debugger on tablet
- Set “No authentication” and “Allow any user to debug”, clear the timeout
- In Visual Studio set Remote Machine and no authentication
- Start app
Hi Aurimas Cernius,
First, thanks for your help !
I did what you told me( I install the Remote debugger tools(I installed for Visual Studio 2013 because I did not find the Remote debugger tool for VS 2012) on my tablet and ran it and set “No autentication” and “Allow any user to debug”.
Then, I opened the game project in VS2013 and I got the following warning:
Warning 1 Project “_2D v3” depends upon SDK “Microsoft Visual C++ Runtime Package v11.0” which was released originally for apps targeting “Windows 8.0”. To verify whether “Microsoft Visual C++ Runtime Package v11.0” is compatible with “Windows 8.1”, contact the SDK author or see Extension SDK Support for Windows Versions | Microsoft Learn.
After that I star the app in VS2013 and I got the following error:
Error 2 Project ‘_2D v3’ targets Windows 8.1 but depends upon SDK ‘Microsoft Visual C++ Runtime Package’ which supports Windows 8.0. This is unsupported. Please reference a version of SDK ‘Microsoft Visual C++ Runtime Package’ which supports Windows 8.1. The platform support of some SDKs is listed at Extension SDK Support for Windows Versions | Microsoft Learn.
Finally, I tried to see if VS found my remote machine and I clicked in Find option and I got the following
“Found 0 connection on my subnet”
Do you know how fix these problems?
Thanks for your help
Best Regards
Alejandro
PS: Sorry for my ignorance and my little English but Are there any way to copy the Unity build on my Tablet and I start the App here( without the VS remote machine?
The error seems to indicate you’ve mixed 8.0 and 8.1 SDKs. Are you using any plugins or other third party stuff?
Try building to an empty directories using 8.0 and 8.1 SDKS. Hopefully one of two will work.
Castana I would also suggest reading through all the Unity porting documentation for Windows Phone and Windows Store Apps.
It also comes with a Git Repo that shows you how to build the 2D platformer game.
You need Unity 4.3 or later.
Any feedback on the documentation is welcome.
Hi Aurimas Cernius,
First, thanks for your help.
Sorry but my English is little and I am starting with Unity. Did you say me what I make two Unity Windows Store build? (8.0 and 8.1) in different folders? and open both builds in VS2013?
What type should I use? (D3D11 C# solution or XAML C# solution? Should I select the Autoconnect profiler option?
On the other hand and like I want to deploy the game in my tablet, I tried to see if VS found my remote machine( I set the remote path to 192.168.0.21) and I clicked in Find option and I got the following:
Found 0 connection on my subnet"
Do you know how fix these problems?
Thanks again for your patience.
Best Regards
Alejandro
Hi Meltdown
I am going to read the pdf and its code to learn about this topic,
Thanks for your offering me your feedback.
I am very interested in making games mainly for Windows 8(Phone/Store) and your help would be more appreciate…
Best Regards
Alejandro
Hi Aurimas Cernius,
You are right !
I did the following build and it is works !
I built the XAML C# solution and the SDK 8.1( without Autoconnect profiler select)
I deployed by Local Machine the 2D game in my Laptop Desktop and it is works fine !
I also tried to deploy the game by Remote Machine and VS2013 found 1 subnet and I ran the app and it was successfully but the game run in my Laptop Desktop and do not in my Tablet Desktop ? What is the problem now? Could you help me again?
Thanks for your help!
Best Regards
Alejandro
What is the error you get building for tablet? Is it for MS Surface?
Hi Meltdown,
My Tablet is a Dell Venue 8 Pro with Windows 8.1. and I did not any error build and deploy( they were successfully) but when it finishes I only see the game in my Laptop and not in my Tablet. I did all according to this:
but I could not fix this problem yet.
On the other hand , I am reading and trying the project(and it is very interesting) from here
I built both Windows 8 phone and Windows Store and I am trying in my Lumia 620 and my Laptop(I could not try in my Tablet for the problem from above) and I am having some problems with Share and Facebook buttons( they are not working). I am seeing both projects and if you are agree, please let me know where I could send you a feedback about it( I took some Developer console print screen).
Thanks
Alejandro
You mean you don’t get any message in Visual Studio?
If I understand it correctly, it deploys app on tabled but does not run it?
I’ve seen something like that on one of our Windows Phone devices, it deployed, but did not run. Actually it could not start app and attach debugger. Hower, I could start it manually, once it was deployed.
Can you check, perhaps app is successfully installed and can be run on tabled, just not from Visual Studio?
Hi Aurimas Cernius,
You understood well, I run the project in Visual Studio by Remote Machine and it did all the steps successfully and then the game start in my Laptop Desktop and not in my Tablet. I tried with the same project by Local Machine and it works fine. The problem seems be with the Remote Machine
Then. I was looking for the game apps manually from Windows search and I could not find it.
I am really very confusing myself
Sorry for my ignorance but Are there any way to run the Unity build directly from my Tablet? (for example if I copy the folder build in it)
Thanks and sorry for my little English.
Best Regards
Alejandro
If tablet is x86, you do build on it, you just have to install everuthing on tablet.
If tablet is ARM, than build it on you x86 machine (for ARM architecture), copy to tablet and install it using PowerShell.
My Tablet is x86 and according to your advice I should do build on it, I just have to install everything on tablet, for it my question is the following:
How I have to install everything on tablet? Sorry but Could you explain me step by step to do it?
Thanks again
Alejandro
NOTE PLEASE DO NOT WORRY ! I UNIDERSTOOD. I HAVE TO INSTALL UNITY AND BUILD THE PROJECT ON MY TABLET… SORRY BUT MY ENGLISH IS LITTLE…
This might help:
How to create AppX package from Visual Studio ?
- After building the project from Unity Editor.
- Open it with VS
- In the solution explorer, right click on the project.
- Store->Create App Packages.
- Do you want to build packages to upload to the Windows Store? Choose No, then Next.
- Pick appropriate platform, for ex., ARM Release
- Don’t include public symbol files, this will make package smaller.
- Create
- Locate folder which is named something like YourApp_1.0.0.0_ARM_Test, check that it has Add-AppDevPackage.ps1 file.
- Copy the folder contents to the target machine, then on the target machine right click on Add-AppDevPackage.ps1->Run with PowerShell.
- Follow the steps, you might need an internet connection to install Developper License, this will require for you to have Microsoft account.
- If everything is okay, your app should appear on the start menu.
The Remote debugger should still work for x86 tablets like the Dell Venue Pro 8 (haven’t tried it) so I don’t think it is required to install Unity if you don’t want to (space is a premium on the Dell Venue Pro 8 especially the 32GB version). I can say if you do install Unity/VisualStudio it works fine locally as that is what I do. You would simply in visual studio on the tablet run the project Unity created.
I have an sdcard to supplement the space but if you have the 32 GB tablet version and only about 10 GB is usable on a fresh machine. Installing Unity and VS and the required pieces on the tablet would use up just about all your space and shouldn’t be required. The same remote debugging tools should work if you don’t want to install either and if you only wanted visual studio and not unity you could obviously just copy the project Unity created over to the tablet.
Hi Tomas1856,
I did what you told me and I ran AppDevPackage.ps1 file and I got the following warning
Execution policicy change ( and another text
and the option
Yes, No or Suspend
What option should I chose?
Thanks for your help
Alejandro
Hi greggtwep16
First, thanks for your help
I have the Dell Venue 8 Pro with about 10 GB.
Sorry but my English is little and I cannot understand the following :
The same remote debugging tools should work if you don’t want to install either and if you only wanted visual studio and not unity you could obviously just copy the project Unity created over to the tablet.
If I understood well, you told me that I have not install the Unity and VS and if I copy the Unity build folder on the tablet, it should works, right?
So, if I copy it on my tablet. How I run the unity build?(if I have not installed Unity and VS)
Thanks
Alejandro
Hi Tomas1856
You are right !
I did what you told me and the game app is install on my tablet now and it is works.
On the other hand and if anybody got the Powershell warning above
'Yes, No or Suspend"
Chose YES and continue.
Thanks for your help to everybody !
Best Regards
Alejandro
Hi Tomas1856,
Sorry to bother you again but I would like to do the same for a Windows 8 Phone project and use the Store->Create App Packages option in Visual Studio but I opened the Windows Phone 8 solution and I have not any Store->Create App Packages, for it, Is there any way to do it in Windows Phone 8 solution?
Thanks for your time
Alejandro