Getting Started with Unity for Hololens2 | Tutorial

Sdílet
Vložit
  • čas přidán 13. 09. 2024

Komentáře • 94

  • @williamducar4642
    @williamducar4642 Před 2 lety +4

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

  • @manuelgui15
    @manuelgui15 Před 2 lety +3

    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!

  • @Saleh_jal
    @Saleh_jal Před 2 lety

    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!

  • @DreckbobBratpfanne
    @DreckbobBratpfanne Před 10 měsíci

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

  • @sharesquid
    @sharesquid Před rokem

    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!

  • @k3rn3l_panic81
    @k3rn3l_panic81 Před 2 lety

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

  • @PeterMilko
    @PeterMilko Před 5 měsíci

    awesome

  • @user-cn4vy3oj1y
    @user-cn4vy3oj1y Před 4 měsíci

    Thank you very much! It helps me a lot.

  • @braindamagecontent
    @braindamagecontent Před 2 měsíci

    W video right here. This helped out a ton!

  • @vinaysindhe
    @vinaysindhe Před rokem +2

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

  • @JohnathanMo-jl4ok
    @JohnathanMo-jl4ok Před 3 měsíci

    thanks bro!

  • @aditidas3184
    @aditidas3184 Před 2 lety

    Very helpful video. Thank you!

  • @sumanthsriram6933
    @sumanthsriram6933 Před 3 měsíci

    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?

  • @alexaelena8680
    @alexaelena8680 Před rokem +1

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

  • @gogisa1980
    @gogisa1980 Před 2 lety

    Thanks for the video!!

  • @sumanthsriram6933
    @sumanthsriram6933 Před 3 měsíci

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

  • @michaelivashchenko5549
    @michaelivashchenko5549 Před rokem +1

    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  Před rokem +1

      Just look at your wrist and press the home button.

  • @yuerbubao3024
    @yuerbubao3024 Před 5 měsíci

    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".

  • @felixgoer4396
    @felixgoer4396 Před 4 měsíci

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

  • @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.

  • @joegiusti528
    @joegiusti528 Před 2 lety +1

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

  • @youssefabiaad1044
    @youssefabiaad1044 Před rokem

    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?

  • @ronshalev1842
    @ronshalev1842 Před 2 lety +1

    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  Před rokem

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

  • @avinmahajan8314
    @avinmahajan8314 Před rokem

    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.

  • @akossoos7023
    @akossoos7023 Před rokem

    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!

  • @MadDev_
    @MadDev_ Před rokem

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

  • @vinaysindhe
    @vinaysindhe Před rokem

    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  Před rokem

      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.

  • @xdeathknight72x
    @xdeathknight72x Před 2 lety

    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.

  • @poojaprem8415
    @poojaprem8415 Před rokem

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

  • @shhhhtahimik
    @shhhhtahimik Před rokem +1

    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  Před rokem +1

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

  • @NURAFYFAHBINTISUWADI
    @NURAFYFAHBINTISUWADI Před rokem

    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  Před rokem

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

  • @asfandyarfarooqi0166
    @asfandyarfarooqi0166 Před rokem

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

  • @jakubfasung6313
    @jakubfasung6313 Před 2 lety +1

    You saved my ass

  • @wizor111
    @wizor111 Před rokem

    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?

  • @samyakjain1508
    @samyakjain1508 Před 11 měsíci

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

  • @ImmersiveTechSolution

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

  • @javierdehoyos24
    @javierdehoyos24 Před 10 měsíci

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

    • @SurajPattar
      @SurajPattar  Před 10 měsíci +1

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

    • @javierdehoyos24
      @javierdehoyos24 Před 10 měsíci

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

  • @muatazkhataan
    @muatazkhataan Před rokem

    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

  • @user-gs5ll6lw8c
    @user-gs5ll6lw8c Před rokem

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

  • @catatineiu5755
    @catatineiu5755 Před 2 lety

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

  • @malleswarikachireddy3871

    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  Před 2 lety

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

  • @poojaprem8415
    @poojaprem8415 Před rokem

    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 Před rokem +1

      Maybe you can try holding L Shift + L Mouse Button

  • @uwu-ye9gl
    @uwu-ye9gl Před rokem

    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  Před rokem

      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  Před rokem

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

  • @alexaelena8680
    @alexaelena8680 Před rokem

    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  Před rokem

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

    • @alexaelena8680
      @alexaelena8680 Před rokem

      @@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  Před rokem

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

    • @alexaelena8680
      @alexaelena8680 Před rokem

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

  • @soumikchakraborty7842

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

    • @SurajPattar
      @SurajPattar  Před rokem

      Could you tell me what errors you are getting?

  • @deweshgoenka6111
    @deweshgoenka6111 Před rokem

    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  Před rokem

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

    • @deweshgoenka6111
      @deweshgoenka6111 Před rokem

      @@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?

  • @Juku1988
    @Juku1988 Před rokem

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

    • @SurajPattar
      @SurajPattar  Před rokem

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

  • @syfx7579
    @syfx7579 Před rokem

    Target SDK Version is disable, help me pls T_T

  • @cmario72
    @cmario72 Před 2 lety

    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  Před 2 lety +1

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

    • @moritzroh9361
      @moritzroh9361 Před 2 lety +1

      @@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  Před 2 lety

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

    • @SurajPattar
      @SurajPattar  Před 2 lety

      @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 Před 2 lety

      @@SurajPattar Can you explain that?

  • @uncensored3448
    @uncensored3448 Před rokem

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

    • @SurajPattar
      @SurajPattar  Před rokem

      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 Před rokem

      @@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  Před rokem

      @@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 Před rokem

      @@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 Před rokem +1

      @@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
    @braindamagecontent Před 2 měsíci

    No way you just exposed your IP
    192.168.0.118

    • @AndrewTSq
      @AndrewTSq Před 24 dny

      that is a local ip lol, so its only availble within his private network, good luck trying to access it online.

  • @pratikkuratkar4802
    @pratikkuratkar4802 Před 2 lety

    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 Před rokem

      Got the same issue...

    • @SurajPattar
      @SurajPattar  Před rokem

      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?

  • @catatineiu5755
    @catatineiu5755 Před 2 lety

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

    • @ST-ly8uf
      @ST-ly8uf Před 2 lety

      Me neither.

    • @jasondeeprose3161
      @jasondeeprose3161 Před rokem +1

      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 Před rokem

      @@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.