Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Can we integrate api.ai bot into hololens with unity

i have tried using the api.ai sdk for hololens but it gives error that the method doesnt exist in the current context and is taken for apisdk.dll
Is this an issue in the hololens development

Answers

  • Options

    You need to make sure that the DLL that you are using is UWP compatible. Also, have you added the DLL to your Unity project? If so, and you had built a version of your project from Unity prior to adding the DLL, you need to delete your build folder, restart Unity, and then create a new build to get the DLL added.

  • Options
    edited May 2017

    @innovationcss does it build and run in Unity by itself? If you can get it to do that, maybe in a new scene/project or something for testing, then move the stuff you know is working over to the project you have set up for HL and see if it works there.

    Additionally, if you can get cortana working on HL you could integrate Api.ai into that. https://docs.api.ai/docs/cortana-integration

  • Options

    I've only used API.AI to target non HoloLens platforms, but I know that there is support for UWP and NET3.5 so you MIGHT get it to work in Unity with the 3.5 library.

    An easier path, they have provided a RESTful Interface which will work for sure:

    https://docs.api.ai/docs/reference

  • Options

    @tylerlindell ...the functions in the api ai sdk require a il2cpp backend which seems to be haveing issues with building for hololens
    @PoshPorcupine ...this requires installation of nuget package manager which can't work with unity as unity rewrites the project everytime and hence all refernces are deleted

Sign In or Register to comment.