Getting Started with Unity for Hololens2 | Tutorial

In this video, I guide you through the steps on how to setup a Unity project, build it and deploy it on Hololens2.
#tutorial #hololens #hololens2 #unity #unity3d #3d #gamedevelopment #augmentedreality #augmentedrealityapp #MixedReality

Пікірлер: 93

  • @Saleh_jal
    @Saleh_jal2 жыл бұрын

    Man you are the best, I spent three days on some tutorials and got nothing. I admire what you have done, keep the hard work!

  • @williamducar4642
    @williamducar46422 жыл бұрын

    Clear, concise, and easy to follow. Thanks for putting this video together, I look forward to additional videos.

  • @manuelgui15
    @manuelgui152 жыл бұрын

    Thank you for this video, its a great and simple explanation of what to do to get started. I had no issues following this guide!

  • @k3rn3l_panic81
    @k3rn3l_panic812 жыл бұрын

    Nice video ! Clear and concise. Thank You! Waiting for my halolens 2 to get here.

  • @sharesquid
    @sharesquid Жыл бұрын

    Thanks for sharing this step by step walkthrough, great job! I subscribed, and will be sure to give you credit in my upcoming VR video series!

  • @braindamagecontent
    @braindamagecontent17 сағат бұрын

    W video right here. This helped out a ton!

  • @aditidas3184
    @aditidas31842 жыл бұрын

    Very helpful video. Thank you!

  • @user-cn4vy3oj1y
    @user-cn4vy3oj1yАй бұрын

    Thank you very much! It helps me a lot.

  • @DreckbobBratpfanne
    @DreckbobBratpfanne7 ай бұрын

    Multiple Microsoft Tutorials contain errors, yours works great, so thanks for uploading it.

  • @gogisa1980
    @gogisa19802 жыл бұрын

    Thanks for the video!!

  • @PeterMilko
    @PeterMilko2 ай бұрын

    awesome

  • @JohnathanMo-jl4ok
    @JohnathanMo-jl4ok8 күн бұрын

    thanks bro!

  • @youssefabiaad1044
    @youssefabiaad104410 ай бұрын

    Is there a specific Unity Hub Version that should be installed? and is there any specific Modules that needs to be installed before building the app for the Hololens 2?

  • @xdeathknight72x
    @xdeathknight72x Жыл бұрын

    Is there any way to deploy to hololens 2 using URP? I've been trying to deploy and I can get the files to deploy to the hololens 2 but the app never actually begins. No Unity splash screen or anything.

  • @vinaysindhe
    @vinaysindhe Жыл бұрын

    Hi, I am unable to see "Target device" under UWP. Can you please help ? Thanks

  • @sumanthsriram6933
    @sumanthsriram6933Ай бұрын

    Very nice video, I don’t understand the controls at the bottom could you tell me how to move the cube and bowls in the play mode?

  • @yuerbubao3024
    @yuerbubao30242 ай бұрын

    Hi, thanks for the tutorial! I've followed every single step and it worked in play mode, but I got a strange problem after I deployed it to HoloLens2. The deployments were successful, but then nothing appeared in scene except the splashed mesh, nothing means no unity logo, no game object. This problem has happened to all projects I created(I've also followed other tutorials and created some simple MRTK projects and image target projects), all of these projects function well in play mode, but after being deployed to HoloLens 2, none of them showed up in HoloLens 2. The solotions in Internet like Version Update, reinstallation and so on have I tried but none has worked, I really can't find out why the objects I created never show up in HoloLens2, so I'd like to ask if I can have the project you created in this tutorial, inclusive the build file, so that I can deploy it to HoloLens to see if they would show up and figure out the difference between my projects and a project without this"disappear problem".

  • @akossoos7023
    @akossoos7023 Жыл бұрын

    Hey, after launching the project in the hololens (like in the video at 14:30), I cannot see the apple and the plate. It's not coming up, not showing even after several minutes. What could be the issue? Thank you in advance!

  • @joegiusti528
    @joegiusti5282 жыл бұрын

    Awesome video, what did you use for the voice over? Its really good quality

  • @SurajPattar

    @SurajPattar

    2 жыл бұрын

    Well said labs: wellsaidlabs.com/

  • @MadDev_
    @MadDev_ Жыл бұрын

    Do you know why using URP everything related to MR is pink?? and I can not use the pipeline material converter

  • @felixgoer4396
    @felixgoer43962 ай бұрын

    Hey nice video, I can't find die unitypackage for the directional indicator anymore. Is there a solution?

  • @michaelivashchenko5549
    @michaelivashchenko5549 Жыл бұрын

    Hi Suraj! Amazing tutorial, huge regards, had no issues following. My question would be - how do I exit the simulation back to the regular window view once I'm done with the simulation?

  • @SurajPattar

    @SurajPattar

    Жыл бұрын

    Just look at your wrist and press the home button.

  • @ronshalev1842
    @ronshalev1842 Жыл бұрын

    Hello there! thank you for the video. how exactly did you manage to use the articular hand mesh (with the triangle and grey material)? Im trying to make them as my default hand mesh.

  • @SurajPattar

    @SurajPattar

    Жыл бұрын

    I think it's the default mesh. I don't recall changing anything.

  • @avinmahajan8314
    @avinmahajan8314 Жыл бұрын

    At the last step start with debugging and pair with code where we need to type in the code in dekstop and did u used cable or without cable. How the project run in hololens. Please guide.

  • @NURAFYFAHBINTISUWADI
    @NURAFYFAHBINTISUWADI Жыл бұрын

    Hi Suraj, nice video. I'm able to build one by just following your tutorial video.. thanks a lot. I have a question about the MRTK toolkit that you run in unity, here you show that we must open the MRTK feature tool first, then do the setting in Unity. But some other tutorials show that they can run the MRTK by opening the asset, then select a custom package, and then choosing the MRTK foundation file. What is the difference between the 2 processes? Thanks :)

  • @SurajPattar

    @SurajPattar

    Жыл бұрын

    Sorry, I can't recall any other methods. Could you post the link to the other tutorials?

  • @sumanthsriram6933
    @sumanthsriram69339 күн бұрын

    Hi Suraj, I'm not seeing a prompt on my PC to pair the HOLO lens could you guide me?

  • @wizor111
    @wizor111 Жыл бұрын

    I am trying to connect with the Hololense emulator. The devices find each other, but Visual Studio 2019 keeps telling me that the pairing code is wrong, even though I typed it correctly. Do you have a possible solution?

  • @alexaelena8680
    @alexaelena8680 Жыл бұрын

    I don't have the "Target device" in "Build Setting", what can I do?

  • @asfandyarfarooqi0166
    @asfandyarfarooqi0166 Жыл бұрын

    I have a script where the player turns with mouse movement, how does that work with hololense?

  • @invianopo-toptopkrypychova4239
    @invianopo-toptopkrypychova4239 Жыл бұрын

    In this video, He would guide you through the steps on how to setup a Unity project, build it and deploy it on Hololens2.

  • @AscendingPilot
    @AscendingPilot Жыл бұрын

    How do you get rid of that white mesh at the end.

  • @poojaprem8415
    @poojaprem8415 Жыл бұрын

    in the visual studio its showing deployment successful and ready but in the hololens 2 device nothing is showing what to do sir

  • @vinaysindhe
    @vinaysindhe Жыл бұрын

    Hi Suraj, Wonderful tutorial. I was able to build the project for Hololens 2. Can you please tell me how to remove the mesh from the background once the game starts ?

  • @SurajPattar

    @SurajPattar

    Жыл бұрын

    Sorry, I haven't been able to find time to work on this problem so far. I'll get back to you once I figure it out.

  • @catatineiu5755
    @catatineiu5755 Жыл бұрын

    How can i remove the mesh lines in hololens? Thx in advance

  • @jakubfasung6313
    @jakubfasung63132 жыл бұрын

    You saved my ass

  • @shhhhtahimik
    @shhhhtahimik Жыл бұрын

    can I make a mixed reality project without hololense? we are going to borrow at our school, but while making the project is it possible to make one without hardware?

  • @SurajPattar

    @SurajPattar

    Жыл бұрын

    You could use the hololens emulator or just play the project in Unity itself.

  • @malleswarikachireddy3871
    @malleswarikachireddy38712 жыл бұрын

    Hi Suraj, Thanks for your video. It would be great if you can let me know from where I can download the folder MRTK Tutorials?

  • @SurajPattar

    @SurajPattar

    2 жыл бұрын

    Sorry for the late reply. There is no folder available right now. You need to create your own folder "MRTK Tutorials" following the tutorial.

  • @samyakjain1508
    @samyakjain15088 ай бұрын

    8:28 when in game mode, i am getting an error failed to create GenericJoystickController controller Please help Suraj

  • @user-gs5ll6lw8c
    @user-gs5ll6lw8c Жыл бұрын

    When I download the MRTK, I only get the exe file, not the zip file.

  • @uwu-ye9gl
    @uwu-ye9gl11 ай бұрын

    Hello. I followed your tutorial and I did everything, I just didn’t add the apple and the bowl. There is just a cube. I get an error message sayin fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'ARM64’ . I used the old version of the unity like you but my vs is 2022, do you have any idea how to fix this¿

  • @SurajPattar

    @SurajPattar

    11 ай бұрын

    I haven't had this problem, but a quick Google search gives this suggestion: stackoverflow.com/questions/3563756/fatal-error-lnk1112-module-machine-type-x64-conflicts-with-target-machine-typ

  • @SurajPattar

    @SurajPattar

    11 ай бұрын

    And perhaps try with VS 2019,and see if it works.

  • @soumikchakraborty7842
    @soumikchakraborty7842 Жыл бұрын

    8:36 I am not able to move the cube, getting a lot of errors. Could u help?

  • @SurajPattar

    @SurajPattar

    Жыл бұрын

    Could you tell me what errors you are getting?

  • @alexaelena8680
    @alexaelena8680 Жыл бұрын

    Hey, the tutorial is great, but at the end when I'm supposed to move the object (when my hand is close to the object) it just dissapear and is exiting my game. What can I do?

  • @SurajPattar

    @SurajPattar

    Жыл бұрын

    I can't really tell much without any error message.

  • @alexaelena8680

    @alexaelena8680

    Жыл бұрын

    @@SurajPattar After I press "Start Without Debuggin" it shows me the object, and then nothing, and no errors. Everytime I press Start, this happens. Can you send me you project please? I rewatch your viedo all day with all your stepts, something is wrong.

  • @SurajPattar

    @SurajPattar

    Жыл бұрын

    I'll post the link to the repo soon. I'm trying to reduce the size of the project first.

  • @alexaelena8680

    @alexaelena8680

    Жыл бұрын

    @@SurajPattar Okay, another question, I hope it doesn't bother you. What individual components do you have for Microsoft Visual Studio?

  • @javierdehoyos24
    @javierdehoyos248 ай бұрын

    Reallly nice video, just one question, my app is opened in a screen, how can I fix that?

  • @SurajPattar

    @SurajPattar

    8 ай бұрын

    Sorry, I don't understand. You mean the app in the hololens?

  • @javierdehoyos24

    @javierdehoyos24

    8 ай бұрын

    @@SurajPattar yes, I have already fix it, I have upadate unity to 21.3 and visual studio to 2022. Thank you!

  • @catatineiu5755
    @catatineiu57552 жыл бұрын

    Hello. Why i dont have the “target device” in the build settings. I cant select hololens device.. thx in advance

  • @ST-ly8uf

    @ST-ly8uf

    Жыл бұрын

    Me neither.

  • @jasondeeprose3161

    @jasondeeprose3161

    Жыл бұрын

    Hey, I know you posted this a long time ago, but I found the solution. It doesn't show up in the new versions of unity, only in the 2020 versions. You don't need it so everything will work fine without it :) Hope you figured that out earlier and didn't wait 3 months for the response.

  • @jasondeeprose3161

    @jasondeeprose3161

    Жыл бұрын

    @@ST-ly8uf Hey, I know you posted this a long time ago, but I found the solution. It doesn't show up in the new versions of unity, only in the 2020 versions. You don't need it so everything will work fine without it :) Hope you figured that out earlier and didn't wait 3 months for the response.

  • @poojaprem8415
    @poojaprem8415 Жыл бұрын

    sir, i tried it, but when I click the play button that hands are not coming to move it, like in 8:32

  • @afthonm

    @afthonm

    Жыл бұрын

    Maybe you can try holding L Shift + L Mouse Button

  • @pratikkuratkar4802
    @pratikkuratkar4802 Жыл бұрын

    Hey I followed the tutorial and at first there is no error but after I enter the pair code the effect shown but after that there is nothing 14:23 there no unity logo or anything showing please help

  • @stanislavbramhall5599

    @stanislavbramhall5599

    Жыл бұрын

    Got the same issue...

  • @SurajPattar

    @SurajPattar

    Жыл бұрын

    After you've paired it, it takes a while for the project to build and deploy on the Hololens. I've trimmed that delay to save time. If it's not being deployed, are you getting any errors in your Visual Studio output?

  • @cmario72
    @cmario722 жыл бұрын

    i dont have a target device option and whenever i choose ARM 64- but it says that my local machine does not support running projects compiled for the ARM64 architect. Project will be built but will not run. Why is this and how do i fix this

  • @SurajPattar

    @SurajPattar

    2 жыл бұрын

    Are you asking about Visual Studio or Unity? Could you mention the time-stamp you're referring to?

  • @moritzroh9361

    @moritzroh9361

    2 жыл бұрын

    @@SurajPattar I have the same issue. It is in unity, while changing to Universal Windows Platform :( I dont have the option "target device" aswell :(

  • @SurajPattar

    @SurajPattar

    2 жыл бұрын

    @@moritzroh9361 Could you please mention the time stamp in the video or a screenshot?

  • @SurajPattar

    @SurajPattar

    2 жыл бұрын

    @cmario72 Oh. I just realized your issue. Actually, it's not a problem. The program will build anyway. You can ignore that.

  • @ST-ly8uf

    @ST-ly8uf

    Жыл бұрын

    @@SurajPattar Can you explain that?

  • @Juku1988
    @Juku1988 Жыл бұрын

    hey. nice tutorial! did you remove the github link? greetz!

  • @SurajPattar

    @SurajPattar

    Жыл бұрын

    Sorry. I don't think there was a github link. Unity projects are quite huge.

  • @deweshgoenka6111
    @deweshgoenka611111 ай бұрын

    I get an error saying "Unable to start debugging". Any idea on how I can fix it? I press start without debugging yet I get this error

  • @SurajPattar

    @SurajPattar

    11 ай бұрын

    It's difficult to say without the full error message. Do you have the correct VS version and the hololens connected?

  • @deweshgoenka6111

    @deweshgoenka6111

    11 ай бұрын

    @@SurajPattar nevermind I made another build for the game and it started running. Also do you think that there can be some sort of catapult/slingshot type game in the hololens 2?

  • @muatazkhataan
    @muatazkhataan9 ай бұрын

    I made all things but when build it is change the camera setting background color from black to sky and run in hololens inside window not in hologram

  • @mohamadfirzonainurroziqin9502

    @mohamadfirzonainurroziqin9502

    2 ай бұрын

    Igot same problem, any idea to solve it?

  • @syfx7579
    @syfx7579 Жыл бұрын

    Target SDK Version is disable, help me pls T_T

  • @uncensored3448
    @uncensored3448 Жыл бұрын

    how to pair the hololens with virtual studio that part is soo unclear

  • @SurajPattar

    @SurajPattar

    Жыл бұрын

    Is there any particular problem you are facing with the pairing? I can try to put together a small tutorial for just that.

  • @uncensored3448

    @uncensored3448

    Жыл бұрын

    @@SurajPattar I did everything as shown in the video until the ip adresse part and it works fine, but I don't see where I should enter that pairing code in visual code to connect them, and when I try to compile my program I get an error panel

  • @SurajPattar

    @SurajPattar

    Жыл бұрын

    @@uncensored3448 Are both your devices on the same network? The pop-up to enter the pairing code shows up if the devices can detect each other.

  • @uncensored3448

    @uncensored3448

    Жыл бұрын

    @@SurajPattar YES they are both on the same network, when i click on pair it show the code, but nothing else happens , and i don't know where to type that code, actually that's the part i didn't get.

  • @uncensored3448

    @uncensored3448

    Жыл бұрын

    @@SurajPattar eventually it was a compiling error, i tried to rebuild the project in unity, and this time it compiled as it should and asked me for the code in visual studio, thank you sir !

  • @braindamagecontent
    @braindamagecontent17 сағат бұрын

    No way you just exposed your IP 192.168.0.118