UE5 World Partition / Getting Started Tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome back to my channel and in today's video we're going to be enabling the world partitioner and seeing how to make it work how it functions we're going to enable this little window right here which is going to show us how it is loading the objects that we are nearby with and how it unloads those and all that stuff so yeah let's get it started [Music] so this world partition thing actually took me quite a couple of minutes to figure out well more than a couple of minutes uh quite a lot of crashes of unreal engine 5 before i figured out how to enable this because in the documentation they say there's quite a few ways how to enable this but only one seemed to work for me now by default in the world settings if we scroll this down we have the previous world composition and also there is the new world partition we technically should be able to enable this right here but for some reason it just doesn't seem to work and it's not really clickable not exactly sure why because in the documentation one of the options this was one of the options now what i found out is that you can go also to the project settings which seem to work for me if we go under the engine section scroll to the very bottom of it here we have the world partition option here we can enable this world partition now if we click that the world partition has been enabled and also we can change the size of the cells for for our level uh and then if we close that well still nothing seems to work and we need to make ourselves a new map in this map i could not i basically could not enable this it didn't want to work for me so what i did was i made a new default level like this one then we can go ahead and save that level uh so save and then let's go ahead and let's just test level it doesn't matter so we save that there we go so now we have the world partition is available also in the world settings now we can see that this world partition is enabled and there is a world partition with all its stuffs uh already available to us now one thing how we can actually see our world is by going to the window and enabling the world partition window there we go and here are our four cells that are generated by default now whenever we will uh build our world make it bigger these cells are going to increase and there's going to be even more cells available these are only the four that are generated by default now perhaps you don't have this and it doesn't show you these cells and it's just basically an empty empty location now if that is the case for you which it was for me make sure you go back to your previous level or just to restart the engine so i'm going to just simply go back to the default third person map there we go we are over here and then i will real quick open up the previous map there we go so now as you can see we are over here but uh by default you can see there is nothing in the level uh now this was the same thing with world composition when you enable your map only the things in the persistent level are getting loaded and the other pieces basically are not loaded but it's really quickly to load those so you just drag select your cells right click them and you can load selected cells and now your level is being loaded so now real quick i'm going to make my level quite a bit bigger and then once i'm done i'm going to come back and show you a few more things so there we go i have placed a bunch of well i'm just you i just used one actor one static mesh and i placed a bunch of those into the world and as you can see i can go outside of my technically outside of the pounds that we can see inside of our world partitioner so it doesn't seem to care to update as quick as perhaps we would like to also it only shows me the original floor that we had and it doesn't show any other floors inside of our world partition preview window so what i'm going to do for that again is save this level let's go ahead let's do that and once we have done that as you can see it is generating and showing this information inside of our world partitioner preview also if we zoom in we can see every individual instance of our meshes once we get closer to that obviously once we zoom out they just go away because otherwise well we wouldn't be really able to understand anything that's going on over there so there we go we have that set up so now at this point we can hit play and start walking around as you can see the objects are getting loaded as soon as we get close to them so there is no longer any need to specify uh the regions and make those inter separate levels like everything is getting loaded automatically by itself uh it doesn't load the entire cell itself fully it just simply selects those objects that are in a specific distance around our character and then it loads those specific objects in so that's really cool we no longer have to bother and set up all that level streaming and world composition stuff this is a lot quicker and ready to go basically now there is one cool command i found on the documentation that we can use to basically see this distance and actors getting loaded kind of so what we can look for is the vp dot runtime runtime dot toogle draw runtime hash 2d so once we hit enter there we go we can see this little map right here which shows the all the cells and areas and regions all that stuff so the green ones are the ones that are already loaded so those are visible right now so those are the ones that are in our region now the red ones are the ones that are have been loaded but at this point already have been unloaded and well basically they're invisible but they're still kind of there but there also are objects that are not yet fully loaded at all so as you can see i have more instances over there so as soon as i get closer to them they all of them are getting created and spawned and all the ones that are left behind are getting unloaded so this is really cool that i no longer have to specify uh basically those levels and put those levels up i just simply bring the things into the world and it does everything for me now obviously we can probably change the distance of this loading area as well although by default i don't really seem to see a big reason for that as of right now but obviously we are going to dive into that but that's going to be for another tutorial for this one that is going to be it this is just a really quick how to basically get started with this thing guide and then later on we're going to come back dive even more deeper into this because obviously i personally myself still don't fully uh understand this thing because there are a couple of glitches and bugs that uh basically uh take my time to figure out like by default like how to enable this thing in general so that took me uh quite quite a few quite a few tries and quite a few engine crashes now i know that a lot of people are complaining about the under engine 4 crashing often and the unreal engine 5 is still an early access build it's not yet fully released it's only going to get released in 2022 so only next year somewhere we don't even know when so this thing right here personally for me is crashing quite a bit and i think i have crashed it at least 100 times within the last couple of days so yeah be patient with it don't start the developing games with this just experiment with this play around with the new features see how you like them see how you can implement those maybe in your future projects or whatever you can prototype some stuff but don't get into releasing games with this because this is way way too early so yeah thank you for watching if you like this type of content make sure to subscribe i'm gonna try to figure out this world composition even further and then make a tutorial on uh more in-depth features of this thing and also i'm going to be trying to build a huge open world map on my old crappy graphics card to see how well it can handle and i'm going to try to run that same similar thing on the unreal engine 4 and see the comparison just like we did with uh basically with my previous video so yeah thank you for watching make sure to subscribe leave a like comment uh join my discord and i see you on the next one
Info
Channel: It's Me Bro
Views: 47,836
Rating: undefined out of 5
Keywords: ue5, world, partition, guide, tutorial, how, to, enable, get, started, itsmebro
Id: ZY62CoOkwHA
Channel Id: undefined
Length: 8min 41sec (521 seconds)
Published: Mon May 31 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.