# Unity Hololens2

**URL:** <https://forum.convai.com/t/unity-hololens2/898>\
**Category:** Unity SDK\
**Tags:** question, unity\
**Created:** [November 28, 2023, 8:48pm UTC](https://forum.convai.com/t/unity-hololens2/898 "2023-11-28T20:48:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 28, 2023, 8:48pm UTC](https://forum.convai.com/t/unity-hololens2/898/1 "2023-11-28T20:48:07Z")

</div>

**Original Discord Post by sirpwnage | 2023-11-28 20:48:07**

Hi all I am taking a project I have been working on in

Unity 2021.3.4  
Visual Studio 2019 16.11.20  
MRTK 2.8.3.0

I have had many successful builds till adding convai, so I was curious if anyone else has been able to build to a UWP platform with unity with success and what versions you may have used? I am going to update the project and packages to newer versions to see if that will help my build issues. Attached are the errors I get in visual studio when trying to build now. I will update as I go cuz I also am working on a script to detect an air tap to toggle NPC StartListening() and StopListening()

**Attachments:**

- [message.txt](https://cdn.discordapp.com/attachments/1179161826257276988/1179161826378924153/message.txt?ex=673e4b07&is=673cf987&hm=3507140f851ccf1664c291b7e061288d4c23e841697228cacb305f38d23f0d39&)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 28, 2023, 8:49pm UTC](https://forum.convai.com/t/unity-hololens2/898/2 "2023-11-28T20:49:12Z")

</div>

**Reply by sirpwnage | 2023-11-28 20:49:12**

I have successful builds from before so not sure if its a convai thing or just a unity/mrtk thing

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 28, 2023, 8:52pm UTC](https://forum.convai.com/t/unity-hololens2/898/3 "2023-11-28T20:52:09Z")

</div>

**Reply by sirpwnage | 2023-11-28 20:52:09**

I’ll clarify for Hololens2 the build must be in .Net Framework and ARM64-bit and visual studio must also build in ARM64 for the Hololens2 to run the build

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 28, 2023, 8:53pm UTC](https://forum.convai.com/t/unity-hololens2/898/4 "2023-11-28T20:53:44Z")

</div>

**Reply by sirpwnage | 2023-11-28 20:53:44**

Updating to Unity 2021.3.15 cuz I saw some forums about unity fixing some build issues. Also heard convai has a new version on the asset store so adding that as well

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 28, 2023, 9:32pm UTC](https://forum.convai.com/t/unity-hololens2/898/5 "2023-11-28T21:32:28Z")

</div>

**Reply by sirpwnage | 2023-11-28 21:32:28**

Updating gave the same errors

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 28, 2023, 9:36pm UTC](https://forum.convai.com/t/unity-hololens2/898/6 "2023-11-28T21:36:01Z")

</div>

**Reply by sirpwnage | 2023-11-28 21:36:01**

convai website says 2021.3.2 so I may try that version instead tho I’m not hopeful lol

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 28, 2023, 9:36pm UTC](https://forum.convai.com/t/unity-hololens2/898/7 "2023-11-28T21:36:34Z")

</div>

**Reply by sirpwnage | 2023-11-28 21:36:34**

everything works fine in editor which is annoying

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 28, 2023, 10:04pm UTC](https://forum.convai.com/t/unity-hololens2/898/8 "2023-11-28T22:04:33Z")

</div>

**Reply by k3kalinix | 2023-11-28 22:04:33**

Hello \<@515599425150648321\>

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 28, 2023, 10:05pm UTC](https://forum.convai.com/t/unity-hololens2/898/9 "2023-11-28T22:05:58Z")

</div>

**Reply by k3kalinix | 2023-11-28 22:05:58**

We do not have a demo stage for MR at the moment.  
We will work on it in the coming days.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 28, 2023, 10:21pm UTC](https://forum.convai.com/t/unity-hololens2/898/10 "2023-11-28T22:21:07Z")

</div>

**Reply by k3kalinix | 2023-11-28 22:21:07**

But as i understand it is similar to MAC issue \<@614184022121119745\>.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [December 25, 2023, 10:00pm UTC](https://forum.convai.com/t/unity-hololens2/898/11 "2023-12-25T22:00:35Z")

</div>

**Reply by k3kalinix | 2023-12-25 22:00:35**

\<@515599425150648321\> did you fix the issue?

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [December 25, 2023, 11:24pm UTC](https://forum.convai.com/t/unity-hololens2/898/12 "2023-12-25T23:24:52Z")

</div>

**Reply by sirpwnage | 2023-12-25 23:24:52**

Nah from my understanding it’s an issue with the asset I found in world asset will let me build tho updating Unity broke my HoloLens UI so working on fixing that now smh but atleast I know it can be built that way lol

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [December 25, 2023, 11:28pm UTC](https://forum.convai.com/t/unity-hololens2/898/13 "2023-12-25T23:28:13Z")

</div>

**Replying to sirpwnage’s Message**

> **Reply by sirpwnage | 2023-12-25 23:24:52**  
> Nah from my understanding it’s an issue with the asset I found in world asset will let me build tho updating Unity broke my HoloLens UI so working on fixing that now smh but atleast I know it can be built that way lol

**Reply by k3kalinix | 2023-12-25 23:28:13**

Do you think the problem is caused by the Convai plugin?

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [December 26, 2023, 12:31am UTC](https://forum.convai.com/t/unity-hololens2/898/14 "2023-12-26T00:31:34Z")

</div>

**Reply by sirpwnage | 2023-12-26 00:31:34**

That’s what I was told xD

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [January 9, 2024, 10:53am UTC](https://forum.convai.com/t/unity-hololens2/898/15 "2024-01-09T10:53:16Z")

</div>

**Reply by k3kalinix | 2024-01-09 10:53:16**

We will work on this issue when we start the MR project.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [January 22, 2024, 3:33am UTC](https://forum.convai.com/t/unity-hololens2/898/16 "2024-01-22T03:33:08Z")

</div>

**Reply by zinavixen | 2024-01-22 03:33:08**

Hello, i know this says solved, but did you get it working? i had gotten so close with my hololens project, i could build it succesfully, but when i open visual studio, plug in my hololens, then click build, it fails on the GRPC. i got different error messages than you. I hope you managed to sort it out.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [January 24, 2024, 10:07pm UTC](https://forum.convai.com/t/unity-hololens2/898/17 "2024-01-24T22:07:42Z")

</div>

**Reply by adelfi43 | 2024-01-24 22:07:42**

Please, let me know if someone could build and deploy the application for Hololens2. Thanks

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [March 19, 2024, 8:10am UTC](https://forum.convai.com/t/unity-hololens2/898/18 "2024-03-19T08:10:22Z")

</div>

**Reply by kogiba | 2024-03-19 08:10:22**

Hello, It’s been a while. I still focus on this issue, please let me know if someone have a solution or tutorial on HoloLens deployment problem. Thank you so much.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [March 19, 2024, 9:54am UTC](https://forum.convai.com/t/unity-hololens2/898/19 "2024-03-19T09:54:06Z")

</div>

**Reply by k3kalinix | 2024-03-19 09:54:06**

Currently, we have not support for HoloLens.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 25, 2024, 12:15pm UTC](https://forum.convai.com/t/unity-hololens2/898/20 "2024-11-25T12:15:12Z")

</div>

This conversation happened on the Convai Discord Server, so this post will be closed.
