Create a GPT driven NPC using Inworld AI - Part 3: Unity VR Setup

Sdílet
Vložit
  • čas přidán 16. 07. 2024
  • Talk to your AI characters in VR! This is the 3rd part of our tutorial series on Inworld's AI character creation platform. In this video, I show you how to convert your Inworld Unity project into a VR Experience (running on the Meta Quest2).
    ← Previous Video • Create a GPT driven NPC using Inworld AI - Part 2: Import Character into Unity: • Create a GPT driven NP...
    ▬ Support My Work ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    ❤️ Support me on Patreon: / ludicworlds
    ☕ Buy me a coffee: ko-fi.com/ludicworlds
    The 'Unity Asset Store' links provided below are affiliate links. If you click on them and make a purchase, I may receive a small commission at no extra cost to you. This support helps me continue creating content for this channel.
    🏷️ Spring Sale: assetstore.unity.com/?aid=110...
    ⚡ Flash Deals: assetstore.unity.com/?flashde...
    🏷️ 50% Off: assetstore.unity.com/?on_sale...
    Thank you for your support!
    ▬ Timestamps ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    0:00 - Intro
    1:19 - Some Small Fixes
    2:17 - Installing XR Packages
    3:56 - Build Settings
    4:26 - Meta Quest 2 Optimization
    6:48 - XR Plug-in Management
    8:47 - VR Scene Setup
    9:53 - Testing in Play Mode
    10:09 - Build Problem & Solution
    11:15 - Working Build
    11:36 - Outro
    ▬ Useful Links ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    ► Inworld AI Homepage: inworld.ai
    My Previous Tutorials:
    ► Create a GPT driven NPC using Inworld AI - Part 1: Character Creation: • Create a GPT driven NP...
    ► How to Optimize Unity Project Settings for Meta Quest 2: • How to Optimize Unity ...
    ► Introduction to Unity's XR Interaction Toolkit: • Introduction to Unity'...
    ► Chat to the Nikola Tesla AI: inworld.ai/arcade/kycsY47GJbm...
    ▬ Credits ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    ► Music by - CO.AG Music: / @co.agmusic1823
    #unity #ai #vr #gamedev #metaquest2
  • Věda a technologie

Komentáře • 20

  • @Tyke18
    @Tyke18 Před 9 měsíci +1

    Very good tutorials. It's worth mentioning if you try to build this project at the end you'll see an error relating to the editor and assembly. To fix it double click on the error to open it in a code editor (i use visual studio 2022) and put
    #if UNITY_EDITOR
    #endif
    You need to put this in 2 places and replace with code already in the file u just opened. The 1st bit of code you're replacing is where it says 'using unity_editor' or something like that (it's right near the beginning), the 2nd piece of code you're replacing is at iirc line 176, put in 2 lines where it mentions unity editor and assembly. After this your code should build and run.

    • @LudicWorlds
      @LudicWorlds  Před 8 měsíci +1

      Thanks for highlighting this issue and providing a solution! 👍
      The error was not occurring at the time when I recorded this video. However, I re-opened the project, updated to the latest Inworld API package, and got the very same error! Hopefully, Inworld will fix this in the next version.

  • @ahmadmohammadi2396
    @ahmadmohammadi2396 Před 2 měsíci +1

    I like your channel, very good content, however, I avoid using anything which needs internet (API) for running the game. I wish we could upload everything offline.

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

      Thanks! :) I am actually working on some Meta Quest tutorials using 'Unity Sentis' , which includes using a local 'Whisper Tiny' AI model for speech recognition (no internet API required!). Here's a little demo: czcams.com/users/shortsvp7xtKEkEk8
      There's a whole bunch of AI models ready-made for 'Unity Sentis' on Hugging Face: huggingface.co/unity
      All designed to run locally on your machine!

  • @belledang4495
    @belledang4495 Před měsícem

    Thank you, I really love your tutorials. However, in the new version of Inworld now, there is no longer the Inworld Player in the InworldController (I think changes are made to the PlayerController). Would you know how to reconfigure Inworld PlayerControllerRPM for the XR Origin Camera for the newer version? Thanks a million!

    • @LudicWorlds
      @LudicWorlds  Před 27 dny

      Thank you, I am glad you are enjoying my videos! :) It's been quite some time since I've looked at Inworld, so I don't know how to fix this in the current version. However, I've noticed that Inworld are now releasing 'Getting Started' tutorials on their CZcams channel. Maybe this Unity series can help? czcams.com/video/HRmTQF0CW7Q/video.html

  • @necatron73
    @necatron73 Před 7 měsíci

    I tried to make this work with VRCHAT. It works in thr unity player but not whe its uploaded to VRchat.

  • @ddvictor
    @ddvictor Před 8 měsíci

    Hey, thanks for the tutorial series. I'd like to ask you something: Do you know how to trigger one action like make the character say something specific by script? I'm trying to make the character say something when I press a button.

    • @LudicWorlds
      @LudicWorlds  Před 8 měsíci +1

      There is functionality in Inworld to get the character say a line verbatim, in response to a particular interaction. But I've not yet tried this out myself. Here's a video about it: czcams.com/video/nCWNVFH_l4w/video.html

    • @ddvictor
      @ddvictor Před 8 měsíci

      Hey thanks for the reply@@LudicWorlds ! If you could give me that extra help, is there a way to turn or the AI listening? I managed to trigger the action by pressing a button, but the AI listening and answering every single noise is quite annoying I wonder how to turn it off. Tried to find something on the scripts, but muting it doesn't work, disabling by holding a controller button also doesn't :x

  • @jasonmcevoy2552
    @jasonmcevoy2552 Před 6 měsíci

    The Meta Quest Support Settings under OpenXR tab in player settings defaults to force remove internet permissions this might be why the connection to the service was not working with OpenXR hope it helps

  • @m.fetihcelik
    @m.fetihcelik Před 8 měsíci

    Hey, thanks for the Tutorial. Everything works in my project fine but after I make the build to the quest 2 the microphone input doesn't work. The Character is not in T-pose and is waiting for any input, but the Mic is not working. Any ideas what I should do?

    • @LudicWorlds
      @LudicWorlds  Před 8 měsíci +1

      There seems to be some issues with the Inworld Unity SDK (Version 2.2.2). @tyke_6721 has kindly provided a fix - see the pinned comment. Also, it appears that a new Inworld Unity SDK has just been released: czcams.com/video/_lENIoaEVv0/video.html
      However, I've not checked this out yet.

    • @m.fetihcelik
      @m.fetihcelik Před 8 měsíci +1

      Thanks for the answer, actually my error was because of the previous builds in my quest. After I deleted the build instead of actualising, it started working. Maybe this also helps any Mac users :)

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

    How do i connect my meta quest 2 if i am usingf a macbook

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

      I don't think 'Quest Link' works on Mac unfortunately, so you won't be able to use 'Play Mode' from the Unity Editor. I'm afraid your only option is to build and deploy an APK to your headset.
      stealthoptional.com/gaming/how-to-connect-oculus-quest-to-mac-can-you-connect-oculus-quest-2-to-apple-mac-or-macbook/

    • @volirina
      @volirina Před 8 měsíci +1

      File -> Build and Run

  • @mauritsith3463
    @mauritsith3463 Před 9 měsíci

    🙃 *Promo sm*

    • @user-si5vw9zu8h
      @user-si5vw9zu8h Před 9 měsíci

      토큰을 다 사용해서 새로운 계정을 다시 만들거나 결제하면 해결됩니다!