For those who get errors importing their video clips, select the clip, turn off the sRGB if your light settings are Linear, select Transcodeand change Codec to VP8 (Video Player). To use Video Player with sound settings with Audio Mixer, create and empty game object, name it video player, ad the video [layer tho that and then add an audio source. Select the audio source and drag it onto the open slot for audio source in audio player, the select the audio source Output and choose something like Music while laving things like background noise or music to Ambient so as to not confuse the two or create a new slider for video audio and the appropriate coding. Make sure to also change spacial blend all the way over to 3D and set it to Linear Rolloff and keep the minimal distance to One and adjust MaxDistance to something like 80 based on when sound will start being picked up by audio listener. For creating where the video is able to be observed create a New Material to be applied to whatever object material you want to use or replace and rename it something like V1. Create a Render Texture and name it the same. On the material drag the Render Texture into the Emission slot. Use the Render Texture as the Target Texture in the video player, and drag the first video clip into the Video Clip slot on the Player. If you want to play a random array of videos after doing all this, you will need to create a VideoManager script and put it directly on the Video Player object. Since i know how much of a pain in the neck it can be to create a basic one, just copy this. It took me a long time to get any help to make this work correctly which it does now. You can always expand on it later. using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Video; public class VideoManager : MonoBehaviour { public VideoClip[] VideoClipArray; private VideoPlayer videoPlayer; private float timeUntilNextVideo; void Awake() { videoPlayer = GetComponent(); videoPlayer.Pause(); } void Start() { timeUntilNextVideo = 0f; } void Update() { if (Time.time > timeUntilNextVideo) { videoPlayer.clip = VideoClipArray[Random.Range(0, VideoClipArray.Length)]; timeUntilNextVideo = Time.time + (float)videoPlayer.clip.length; videoPlayer.Play(); } } public void PlayVideo(int id) { if (id < 0 || id >= VideoClipArray.Length) { videoPlayer.clip = VideoClipArray[id]; videoPlayer.Play(); } } } Good luck. PS. Anything you need to install like Probuilder, PostProcessing, TextMeshPr, etc. go to your menu tab at the top, select Package Manager, then Unity Registry and find what you want to install from in that list. For the tab In Project make sure to update anything in that list. Select My Assets for anything you have from the Asset Store. (You have to make sure you have a Logged in Account to retrieve all that). Hope this helps people.
@Dharmeshhhhh Жыл бұрын
Great tutorial, thank you!
@218-ehtashamhaider52 жыл бұрын
Hi. Can I get link to this asset named First Person All-in-One
@christopherfarrell-artist35573 жыл бұрын
It's a little bit cramped for a gallery ( it looks more like Doom ), but, the basic creation process is OK. For better shadows, I would construct each wall individually with pro builder cubes and subtle textures and lighting ( spotlights work better than point lights which are then baked in ).
@ghaankcyber88 Жыл бұрын
Thank you, the video is very good for training beginners like me 👍
@chrisgleonard2 жыл бұрын
I'm using Unity 2021.3.6f1 and Pro Builder and Post Processing are not options from the Package Manager. Did I miss something somewhere?
@s.v14043 жыл бұрын
cool video, I just started out with unity and it helped! Thanks. Was funny to see you struggling with the scaling and flipping haha.
@nucleusnode232 жыл бұрын
Please provide link for First person All in one
@yulyafrolowa10 ай бұрын
SUPER Character Controller" asset from the same publisher "Aedan Graves"
@AnshikaSingh-xi4jo2 жыл бұрын
I couldn't find FP aio asset on asset store
@yeah83783 жыл бұрын
The Video does not show, only the audio. I have repeated identically your steps using "Plane", video player, and render texture as described starting from 16:30 min. It is blank and just the audio is running. Can you help?
@TheOnlineLearningSpace3 жыл бұрын
Maybe it's something to do with the video codec. If the audio works, then video should be fine. Maybe re encode the video to mp4
@mkipcak3 жыл бұрын
Awesome tutorial, thank you very much!
@barbaradobrowolska88072 жыл бұрын
I tried to find the First person asset but it seams that it is no longer there, which one do you recomend instead?
@TheOnlineLearningSpace2 жыл бұрын
I'm sure it should still be there.. you should try searching again. There are also many paid ones too. But that one is good it's free
@miguelbarillas51992 жыл бұрын
I cannot find that asset too, but the "SUPER Character Controller" asset from the same publisher "Aedan Graves" works fine for me, and it's free too. Good luck and create a lot!
@Racc00nR1ck2 жыл бұрын
Thank you so much for the tutorial! It's a wonderful resource for complete beginners like myself. My question is, where exactly can you publish your virtual exhibit so users can "visit" your gallery?
@class_shift3 жыл бұрын
amazing tutorial, thanks!
@darrinholroyd82033 жыл бұрын
Hi I'm new to unity vr, is it possible to get the source code for so I can play around with it?
@syedmohamadnuqmanjauharibi5971 Жыл бұрын
Hey, what should i do my fp camera keeps falling down through the floor?
@TheOnlineLearningSpace Жыл бұрын
You have to keep it centred. Just move left and right only
@dezafa Жыл бұрын
After clicked build and run, can we share our project to try with?
@TheOnlineLearningSpace Жыл бұрын
Yeah sure you can zip it up and share it
@Zaneta1112 жыл бұрын
Thank you for the wonderful tutorial. Please would you have some suggestion to the question of the blender? I have follow your video exactly up to the point where I'm trying to merge the textures of the walls and the floors, that the unity says that it needs it .blender file. I have spent hours trying to figure that out and I can't. Please can you help me with that? Thank you very much!!!
@TheOnlineLearningSpace2 жыл бұрын
You don't need blender, but if you wanted to you can create things in blender and add it in. Otherwise just use textures
@Zaneta1112 жыл бұрын
@@TheOnlineLearningSpace Thank you so much for your time. Will work on it🙂
@innodeus66943 жыл бұрын
Brilliant tutorial thanks. I designed a similar one to this. My only problem is i can’t seem to make the video play on the plane
@TheOnlineLearningSpace3 жыл бұрын
sometimes it may lag on your computer.. so give it some time
@ense36463 жыл бұрын
Hy. Very intresting video. Can you also hoast the galery, so that People can visit it. And if yes than how?
@TheOnlineLearningSpace3 жыл бұрын
You'd have to have some kind of server to host it
@lorenskylor2 жыл бұрын
Hey how do you publish it? Love your video was helpful!
@TheOnlineLearningSpace2 жыл бұрын
You can export it from unity and then you can do whatever you like with it
@lorenskylor2 жыл бұрын
@@TheOnlineLearningSpace what about putting it on a website?
@sarveshgupta6325 Жыл бұрын
hey where can i get first person aio package?
@TheOnlineLearningSpace Жыл бұрын
You can't search it in the packages ?
@muhamaddamarafathur8523 Жыл бұрын
@@TheOnlineLearningSpace yes i cant
@mariaaboumerhi12533 жыл бұрын
Thank you for the tutorial. Can I import as fbx a 3d exhibition space (made on 3d max with materials and textures) into unity, then do the rest, as adding lights, persons, interactivity and more..? Thanks!
@TheOnlineLearningSpace3 жыл бұрын
You should be able to. Let me know how it turns out as it sounds awesome!
@abgraphics19392 жыл бұрын
Amazing video! How to put online and for more "players" this virtual gallery?
@sukrutagowda8531 Жыл бұрын
Hey! Can we use this in VR?
@TheOnlineLearningSpace Жыл бұрын
I haven't tried it. But you can build VR apps with unity
@epectase63143 жыл бұрын
hello, I'm very confused, do 3D glasses work with these websites?
@TheOnlineLearningSpace3 жыл бұрын
If you want it to be VR you can make this.. this is just a virtual gallery.. not a virtual reality gallery
@legendaryyugiohduel59382 жыл бұрын
@@TheOnlineLearningSpace do you know how easy it is to convert the room you built in a VR environment (or do you need to start from scratch)? How much time would it take approximatively?
@martyboy-d2u Жыл бұрын
hi thanks for the video can you have sound in your video on the wall in the gallery.and i just subscribed
@TheOnlineLearningSpace Жыл бұрын
Yes you can
@martyboy-d2u Жыл бұрын
@@TheOnlineLearningSpace thankyou sir
@adrenochrome17762 жыл бұрын
Hello, I want to buy similar project. How is possible to contact you?
@Greenflash10127 ай бұрын
Thank you so much I love you just kiss me, I looked yesterday and today on how to do this but I couldn’t thx so much❤😭🙏🙏🙏
@johnlouieescalada43292 жыл бұрын
Is it possible to run it on android? If yes, how the players move around? Thankyou
@TheOnlineLearningSpace2 жыл бұрын
You can get the fps add-on all-in-one in unity
@anarseidalina23314 жыл бұрын
Where are you find menu tools? I haven’t tools
@TheOnlineLearningSpace3 жыл бұрын
Which tools? Probuilder ?
@gamesandsuchwithalex91683 жыл бұрын
@@TheOnlineLearningSpace yes and i have the same problem
@prig29822 жыл бұрын
go to package manager then unity registry scroll down there u can install
@humbleahmed85582 жыл бұрын
how to put it in a website
@TheOnlineLearningSpace2 жыл бұрын
You have to upload files to a server
@TheNSproject3 жыл бұрын
Thank you so much for your video!!! Do you have discord or something I would like to ask you specific questions 😃please