New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"UWP" apps (for Hololens) are not supported #173
Comments
Are you trying to use any particular services? We have a Watson .NET SDK written in .NET Platform Standard partially completed. |
I'm starting with SpeechToText, but expect to use others as well. Thanks |
Pointed to .NET Standard SDK to try. Closing for now. |
I am still running into the same problems as ronjkarr. I wish to use TTS from the Watson SDK, it works flawlessly in editor but I can't compile. I worked my way around build errors from WebsocketSharp by compiling it into a DLL and using that instead of the loose files. Sadly I wasn't able to do the same for the entire Watson Unity SDK. How to fix building for UWP/HoloLens? |
Hi @FricoRico, https://github.com/atilatosta/dotnet-standard-sdk/tree/development |
@mediumTaj I'd like to use Visual Recognition in Unity in combination with the HoloLens. Would you suggest waiting for the feature to appear in the new .NET Standard SDK or am I better off writing my own implementation for that API? I only need to subit images and retrieve the results from Watson, nothing more. |
Hi, |
Currently the branch is being refactored. You can follow the progress in the
|
Unfortunately I can no longer test this as I don't have access to the HoloLens any more. |
I would more than be happy to try to get my HoloLens up and run tomorrow (Its at work and I'm in Norway timezone) Can I then make a unity 2017 project download the zip file from https://github.com/eusebiu/unity-sdk/tree/WSA_Support, unzip and extract import in unity and rename to Watson and then import the Holotoolkit (just recently being renamed mixed reality toolkit) and try to make a uwp project from this??? Is it other considerations I should take. Been fiddling with Watson into HoloLens for some time now without huge success I'm afraid. Would be great to finally get the thing to work . |
Thank you @HaraldHeide . Can you also try the hololens with the |
DUe to other things at work i had to postpone until newxtweek with further testing I'm afraid sorry |
What has happened with .NET support for Watson Unity sdk since the last post? I am having issues with building projects with hololens toolkit without using .NET scripting backend. |
@jsmith09 There is a PR open for this. I'm still trying to find some time this week to review it. Can you pull this version down and try it out? Please let me know what you think. |
Do you have instructions to make a unity package of this version? |
@jsmith09 You should be able to download the repository and add it to your Assets directory in your project. |
|
@jsmith09 Can you please @kimberlysiva 's fork? She has a PR submitted but I haven't had a chance to try it out yet. |
@jsmith09 It looks like you have the Unity Speech-To-Text sample in the project? That's where those errors are coming from. Their sample probably isn't going to compile for Hololens. |
@mediumTaj @kimberlysiva after removal of the Unity speech to text, there are no build errors. |
@jsmith09 Great! Have you had a chance to test anything? I'm using Speech-to-Text and Conversation on Hololens with success. Let me know how your experience goes, I can help troubleshoot if needed. |
@kimberlysiva No. Unfortunately, I am having issues with building in VS 2017 with .csprog errors. |
@jsmith09 I use VS 2017 as well, so that should be fine. Make sure you can get a simple Hololens project running first. The build process is a bit of a mess right now, very dependent on your OS/Unity/Toolkit versions. The HoloDevelopers slack group is a great place to get these issues sorted out. If you can deploy a simple project with success but the Watson code is causing errors, please let me know what Unity version you're using and share the full errors. Thanks! |
@kimberlysiva when will the stable version of Unity Watson with the .NET fix be released? |
@jsmith09 That's not up to me, I don't work here :) I've create this pull request because I'm interested in using Watson on Hololens as well! But I think we need more people testing it before it can make its way to the main repo. It should work right now, but if you're seeing errors please let me know (I'm not sure what ".csprog errors" means without more info). I'm testing with Unity 2017.1.0f3. What are you using? |
@jsmith09 yes testing is what we need for sure. I would like to get this in before the push to the Unity Asset store if possible. Time is kinda short for me though! |
Ok. Thanks for the information @mediumTaj. @kimberlysiva I am using Unity 2017.1.2. |
@mediumTaj @jsmith09 I just added a unity package to the PR that has a Hololens-friendly sample scene for streaming speech-to-text. It also has further instructions for setup. I'm going to share this on the HoloDevelopers Slack to see if we can get more testers. |
Awesome, thanks @kimberlysiva ! |
Creating a Unity app for the Microsoft Hololens requires the "Windows Store" platform, along with the "Universal 10" SDK (UWP). However, the UWP is a subset of the full .Net api -- the UWP api does not support old .Net apis. The Watson Unity SDK uses archaic APIs which generates many build errors when trying to build a Hololens app. For example, the SDK uses the old BeginRead, BeginWrite, etc. apis for async operations instead of the newer .Net async model. Also, the old SerializationInfo class is not supported in UWP.
Please modify the SDK to use apis supported by UWP.
The text was updated successfully, but these errors were encountered: