Data Layers | Unreal Engine 5

  Рет қаралды 9,647

The Sound FX Guy

The Sound FX Guy

Күн бұрын

Пікірлер: 112
@TheSoundFXGuy
@TheSoundFXGuy 3 күн бұрын
In case you were wondering, I said "Data Layer(s)" 71 times in 18 minutes.
@Jhtoastygames
@Jhtoastygames 2 күн бұрын
I shouldn’t have read this before watching… now I’m listening for it 😭
@jun3jun3
@jun3jun3 Күн бұрын
take a shot every time TheSoundFXGuy says data layer...you know what, nevermind 😆
@ThomasJWollandsfx
@ThomasJWollandsfx Күн бұрын
Think I might make a tune out of the 'data layer' - 5/4 back beat 😅
@TheSoundFXGuy
@TheSoundFXGuy Күн бұрын
@@jun3jun3everyone will lose in that drinking game lol
@TheSoundFXGuy
@TheSoundFXGuy Күн бұрын
@@ThomasJWollandsfxplease do!
Күн бұрын
It’s worth remembering that Data Layers ONLY work if you’re using World Partition. World Partition is on by default for a lot of templates, but if you happen to be using traditional streaming levels you can’t use Data Layers, and will be able to using traditional “streaming levels” to separate things in such a manner, and standard “layers” within those streaming levels to get more control of separation.
@zidanex123
@zidanex123 Күн бұрын
If World Partition is not important, which one is preferable?
22 сағат бұрын
@@zidanex123 World Partition is designed for large open worlds, to make management easier in that context, so instead of you manually streaming levels in and out the engine will load sections based on the player location automatically. If you're making a smaller scene, or all indoors for example, it's arguable that you're better off manually controlling streaming levels and layers and not using World Partition. That said you can still opt to use World Partition, but it's arguable that there's little point since that's not what it's designed for. It should be absolutely fine though, as you can use data layers to manually load things in and out in the manner shown here. Unreal presents you with a lot of options so it can be overwhelming, and which is the ABSOLUTE best thing to do is so specifically dependent on the individual project that it can be very hard to know without all the specifics.
@SmellsLikeRacing
@SmellsLikeRacing 8 сағат бұрын
@@zidanex123 as I understand, but I could be wrong - data layers are for open world maps using world partitioning (for example, loading interiors when close to a building). while it's possible to make open-world maps with streaming levels (sub-levels), it isn't ideal because you would have to load in the map parts manually, so that's the old method for more linear maps.
@play-good
@play-good 2 күн бұрын
this is actually sick, i used unreal for quite a while and i never notice it especially the Unloaded state for optimisation is pretty good Thx you bro!
@arkan031
@arkan031 3 күн бұрын
Awesome, thanks. I wanted to make something like base upgrades, which could for example spawn entire building with NPC like some trader or gunsmith inside and such. It might be a nice way of doing it.
@TheSoundFXGuy
@TheSoundFXGuy 3 күн бұрын
That's a great way to utilize it.
@Native_Creation
@Native_Creation 2 күн бұрын
That's a good idea
@CCGS
@CCGS 2 күн бұрын
Oooh thats fascinating. Ive been looking into level streaming lately and this seems similar but like it would have more fine tuned controls... definitely diving into that soon. Thanks for the video!
@deanthedev
@deanthedev 2 күн бұрын
This is a good way to keep things organized within a level. I used to use Level Stream all the time. I wonder which one is cheaper to use. But I gotta admit that DataLayer has an advantage for having options like Loaded, Unloaded, and Activated unlike Level Streaming - it loads each time when you stream it.
@RedBeardedJoe
@RedBeardedJoe 2 күн бұрын
i think it depends on the Game Level Streaming is good for a Ghost Hunting Game but for a Exit 8 Type Game Data Layers would be useful since you can make a bunch of them being Anomalies and then when you click the Elevator Button even though you are on the same floor but you can have one do none to whichever one you want to do
@raymondrogers3929
@raymondrogers3929 2 күн бұрын
These bite size tutorials are very helpful, audio or otherwise. Hope you continue these and organize in a way to quick reference these instructions. +1 subscribed.
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
I'm glad you enjoyed it. I was nervous to break away from audio specific topics but happy I did.
@NoQueso_
@NoQueso_ 2 күн бұрын
Thanks so much for this small tutorial with Data Layers! Love the content!
@DavideCastagnone
@DavideCastagnone 3 күн бұрын
Great video! It's been a while since I last worked with data layers, but it's always exciting to dive into topics outside the realm of audio. Gaining a solid overview of these tools is incredibly valuable, not just for broadening our perspective but also for thinking more creatively about audio. Good Work!
@Native_Creation
@Native_Creation 2 күн бұрын
Wonderful tutorial and showcase of Data Layers, and very useful.
@RedBeardedJoe
@RedBeardedJoe 2 күн бұрын
of Course thought with a Ghost Hunting Game you would want to use Level which you right click in the Content Drawer and then make one for each map so you dont have a Bug with Data Layer before you can use that in Conjunction with Streaming the stuff farther away wont be loaded in but when you get Closer they will unless Level Streaming means something different
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
What you're thinking of is called distance culling and I'm pretty sure that's going to be my next video.
@zacktyler7302
@zacktyler7302 2 күн бұрын
You Mr. FX guy are a Marketing and design god!
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
I don't know about that, but I appreciate it.
@DevGods
@DevGods 3 күн бұрын
This is gold! Thanks for covering it.
@GES1985
@GES1985 2 күн бұрын
I want to use data layers for a few things. 1) alongside loading screens so players can retain player control and "play" in an empty space (like assassin's creed). 2) to alter game states like a town's construction or destruction during a quest. 3) to allow players to choose a location for their base, for when "that perfect spot" is already taken by another player. And 4) reserving a space in my map for an "empty" area that uses data layers to cycle through custom or procedural dungeons to save space in the map.
@OriginRow
@OriginRow 2 күн бұрын
Quite interesting. Sounds same like level streaming. Can we change coordinates of layers at runtime. It's not possible in LSV method as far as I know
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
It's a bit more performant than level streaming but there are similarities. Unfortunately, one of those similarities is that you also can't change cords with data layers either.
@warpstorm1988
@warpstorm1988 3 күн бұрын
I had a game idea just last night that this would be absolutely perfect for!
@TheSoundFXGuy
@TheSoundFXGuy 3 күн бұрын
If you make something, I'd love to check it out!
@zanagi
@zanagi Күн бұрын
Hmm no wonder why we see more of these in unreal engine games
@KADstudioArchitect
@KADstudioArchitect 2 күн бұрын
The intro weas full of surprises :))
@scandr060
@scandr060 2 күн бұрын
Very useful video man! Thanks
@GES1985
@GES1985 2 күн бұрын
This was a great tutorial. I definitely need more videos like this from you. I'm at the beginning throws of learning unreal engine, and I've been having a failure to launch. Mostly just finding it hard to focus, and feeling overwhelmed by the learning curve lol
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
It can definitely be overwhelming at times but just keep at it. When I first started learning Unreal, I would just tinker with small things or try to recreate simple things that I saw in other games and then build on it. As a basic example, learn how to place a door into your level, then learn how to make a box trigger, then learn how to use a box trigger that opens your door, then how to add a door open/close sound. It may seem rudimentary but it really helps. It's also important to not only learn how to do something but WHY it works the way it does. This will help when it comes to improvising or working with a project team who might have different workflows.
@GES1985
@GES1985 2 күн бұрын
@TheSoundFXGuy ive followed some of the official unreal learning path, and i understand a lot of the things conceptually. A big issue i have is not knowing which blueprint nodes I need and which pins to use. It doesn't feel as intuitive as I wish it did. I'm sure it's 100% user error lol! I've been trying to dedicate my time fleshing out my game design document so I can get everything out of my head and "on paper". I'm hoping that will let me focus in on what needs done, instead of just feeling like the huge undertaking is just a pipe dream. It's hard being a one man army, but even harder when you're a novice to the umpteenth degree haha
@ErrjIndaw
@ErrjIndaw 2 күн бұрын
really interesting !
@navidumardaraz7163
@navidumardaraz7163 14 сағат бұрын
Seriously amazing explanation. ❤️
@brianmichaelfuller
@brianmichaelfuller 3 күн бұрын
Fantastic stuff man!! Perfectly simple explanation about a complex topic. Well🎉 done
@TheSoundFXGuy
@TheSoundFXGuy 3 күн бұрын
They can definitely get confusing. The number of times I had to stop and realign myself just building the tutorial is more times than I care to admit lol.
@brianmichaelfuller
@brianmichaelfuller 3 күн бұрын
@ ha no doubt!! I always keep a notepad by my desk when working in Unreal!! Because it becomes Inception real fast!!!!
@Radwalls
@Radwalls Күн бұрын
good vibes man thank you!
@KADstudioArchitect
@KADstudioArchitect 2 күн бұрын
Thank you, I have a question, Data Layers like Sub Levels does load/unload or just use visibility? Because I develop VR Archviz and its performance and optimization it is very important for me.
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
it's a complete unload so definitely a performance gain.
@KADstudioArchitect
@KADstudioArchitect 2 күн бұрын
@@TheSoundFXGuy Great, thank you
@BraggsTippingPoint
@BraggsTippingPoint 2 күн бұрын
Good stuff. Do you have a tutorial on setting up a full audio mixing setup for a game project as you would in a DAW? Stems, busses, FX, Mix bus, Master, etc?
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
I have individual videos on how to do certain things but not an all-in-one. I should probably get to work on that though.
@connorjade5460
@connorjade5460 2 күн бұрын
hmm so this is how you make a horror game😂😂
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
This is definitely used a lot in horror games.
@RedBeardedJoe
@RedBeardedJoe 2 күн бұрын
i know this was just to show us how to do it but i would have made that the Dinning Room and the Attic as a Bedroom since the Layout is great for that but Thank you for Video
@Utomatica
@Utomatica 2 күн бұрын
Awesome stuff!
@TheAnimeLibrary-
@TheAnimeLibrary- 3 күн бұрын
When a part of the map is unloaded does it take 0% of performances as if it truly weren’t there or does it still take a tiny little bit of perf ?
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
When unloaded, those assets are fully unloaded so your game will perform as if they're not even there. If you have a bunch of assets in an unloaded layer and try to go straight to activated, there's a good chance you'll see a lag spike or in extreme cases a crash. So it's a good idea to pick and chose the best time to load your next layer. A lot of games will do this during things like low/no npc counts, low/no particle effects, lights out events, during cutscenes, ect.
@i_am_rolkus
@i_am_rolkus 3 күн бұрын
What is the difference between this and level streaming? It's pretty similar...
@TheSoundFXGuy
@TheSoundFXGuy 3 күн бұрын
There are definitely some similarities. Level streaming came long before data layers though (UE3 or 4 I can't remember) where as Data Layers were introduced with world partitions. This was to help handle asset cache as game maps became larger and more "Open world". Data layers are a little more granular than level streaming and better performing. With level streaming, you were loading an entire level's worth of information into memory including all the world data, game mode, and other back-end things. With data layers, you're just loading what you need and it's just using the world data that's already there. Kind of like a plugin for a piece of software.
@joaofelipe2060
@joaofelipe2060 2 күн бұрын
youtube recomendation brought me here and I'm impressed by content's quality. If I understood correctly, all objects will remain in memory as long as the level is loaded. does it means it's not ideal for dense levels if I want to keep ram usage low?
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
If the layer is loaded or active then all assets in those layers will be in memory. This is actually perfect for dense games though. You'll just need to make sure you're completely unloading layers that may not be used for a while or ever again and pick the best time to re-load layers your about to call. A lot of games will do this during cutscenes or while in a less-dense area.
@rutkisXd
@rutkisXd 3 күн бұрын
🔥🔥🔥 this is awesome!
@zidanex123
@zidanex123 Күн бұрын
I created the game Two Doors where a room changes every time you enter it. I wasn't aware of Data Layers or Streaming Levels, so I did it all by "hand". Set hidden in game was so slow that I ended up caching the original positions of each asset and moving it to z -10000. I am very curious how the performance would be with data layers
@TheSoundFXGuy
@TheSoundFXGuy Күн бұрын
@@zidanex123 I haven’t played your game but I have seen it on Steam! Data layers would be perfect for it. You could just have your changes to each room in a data layer and just load/unload them. Then you won’t have to teleport assets which can cause a lag spike if there’s a bunch per move.
@zidanex123
@zidanex123 12 сағат бұрын
@@TheSoundFXGuy Would have make things so much easier. I won’t use it for the first game cause it works pretty fine now. But it was very hard to get around the lags. Now I know more concepts for my next project :)
@noname2031-w5r
@noname2031-w5r 3 күн бұрын
Great video i never knew this existed can you talk about what uses you could use this for? examples because it would be odd to use them but for what , pretty neat magic trick but i don't know what devs would use it for mostly just reducing loading times?
@noname2031-w5r
@noname2031-w5r 3 күн бұрын
Version Control: Data layers help manage different versions of levels for testing and iteration. Collaboration: They enable multiple team members to work on different aspects of the same level simultaneously. Dynamic Worlds: Layers facilitate dynamic changes in environments, like day to night transitions or destruction. Performance: You can optimize load times and memory usage by controlling which data layers are active. Platform Specific Content: Data layers can manage content tailored for different platforms or builds. Testing and Debugging: They allow for isolating specific parts of a level for easier debugging and testing.
@TheSoundFXGuy
@TheSoundFXGuy 3 күн бұрын
@@noname2031-w5r Everything you mentioned above are great use cases! In addition, one of the ways we're using them in the game I'm working on ("Don't! Fret") we have a couple "Lights out" events so when the lights come back on, a once-organized area becomes wrecked and looks like chaos happened while the lights are out. It's also great for things like silent hill where you have an area that looks normal but then at a different point in the game the player may come back to the same area but it's a nightmare style hellscape of it's former aesthetic.
@Hogartzh
@Hogartzh 2 күн бұрын
Thank you very much, I didn't know this system at all! It's super simple. I use levels but what's the difference with layers and levels?
@Jhtoastygames
@Jhtoastygames 2 күн бұрын
Can these data laters blend in with a lerp? Probably a silly question 😅
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
Not a silly question but unfortunately not that I'm aware of.
@MrPangahas
@MrPangahas 2 күн бұрын
Can you do data layers on world partitioned landscapes?
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
I've not tried it myself but I would be surprised if you couldn't. Data Layers came packaged with the world partition update.
@Alternatywny_1
@Alternatywny_1 2 күн бұрын
Wow, this is a huge game changer for me!! Thank you for the video, I’ll be diving into it later this evening. Once again, big thanks! :>
@thelaw3536
@thelaw3536 2 күн бұрын
This wouldve been great for darkeat dungeon 2. It's clear they had too much loaded and rendered even though you can't see that far and that led to poor performance on some maps.
@LOL1423derp92
@LOL1423derp92 3 күн бұрын
do you have a video on your mic setup? the audio is so crisp
@TheSoundFXGuy
@TheSoundFXGuy 3 күн бұрын
I don't have a video on it but I'm happy to share what I use. Mic: Shure SM7b Signal Booster: Cloudlifter CL-1 Interface: Focusrite Scarlett 2i4 This runs directly into OBS (Screen capture software) Inside OBS, I'm using their stock Noise Gate, Gain, then Compressor. (my settings for these stock plugins will probably be different than yours so you'll have to play with them)
@BenCorvo-iy1nc
@BenCorvo-iy1nc 3 күн бұрын
i love YT algo, thx for the video! :D
@13Deed4
@13Deed4 2 күн бұрын
Very interesting video! thank you! Can you tell me if it's possible to do this on UE4?
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
Unfortunately, it's not. Data Layers were introduced with the World Partition system that started with Unreal Engine 5. For UE4, I would recommend looking into level stream. It's not as performant as data layers but there are some similarities between the two.
@Crouton_6
@Crouton_6 13 сағат бұрын
Soooo TECHNICALLY you could utilize this Data layering method to only ever have 1 level in your game, put a main menu, settings, profile and everything, then the in game map and playable areas? Or would there be problems with that?
@musicdudem6673
@musicdudem6673 3 күн бұрын
Question then...say you have a large building, and you want the environment to change inside the building for different routes for the player...would you have the building in the first data layer, and the 2nd layer would be all the rubble/furniture/doors/enemy types that loads alongside Data player 1 initially, and then when you want to swap out to the other version, youd swap out Data Layer 2 with data layer 3 to intoduce the new rubble//furniture/doors/enemies? This just seems too easy lol
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
That's exactly what you would do. If your building is always going to be there, you can also remove it from all data layers and it will default to a persistent data layer that's always active. Think of it like a character creator. The persistent layer is like the body and all of your various set dressings and assets are different armor, eyes, hair, attributes, ect.
@musicdudem6673
@musicdudem6673 2 күн бұрын
@@TheSoundFXGuy the building itself i want to keep, but want to isolate from the rest of the world at some point, so the building exists in a dark void, and falling off would kill the player, so i could use Data Layer 1 with the building to toggle to say Data Layer 4 which would house either nothing or “nothing” void decorations and kill zone volumes when falling out
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
@@musicdudem6673 100%
@williamlacrosse9389
@williamlacrosse9389 3 күн бұрын
So useful! Thx for sharing.
@901coryowens
@901coryowens 3 күн бұрын
So cool dude, thanks!
@Schwarmkiller1
@Schwarmkiller1 2 күн бұрын
Nice, Thx!!!😊
@tbb1985
@tbb1985 21 сағат бұрын
thank you!
@MarioCola
@MarioCola 2 күн бұрын
I like this video, thanks for sharing!
@darkomen1078
@darkomen1078 3 күн бұрын
Thanks for a great video. two questions. Is this good for performance? And can you change the data layer of the assets later?
@TheSoundFXGuy
@TheSoundFXGuy 3 күн бұрын
1. It's definitely performant since it allows you to completely unload assets if there not going to be used again or at least for a while and then you just need to load them into memory at the most opportune time before they're needed. 2. I should have covered this in the video so thank you for bringing it up. If you select the assets in your viewport that you want to move, you can then right-click on the layer you want to remove them from and you'll see the option to do so. Subsequently there is another option in the right-click menu to add them to a different layer. Removing them from all data layers will cause them to be on the persistent layer and will never get unloaded.
@darkomen1078
@darkomen1078 3 күн бұрын
@TheSoundFXGuy thank you for the quick answer. Keep up the good work. I learn much from you ^^
@IsabelleMcGuire1
@IsabelleMcGuire1 3 күн бұрын
ur a great teacher!
@mkaram4893
@mkaram4893 Күн бұрын
Is this like loading/unloading scenes additively in Unity?
@TheSoundFXGuy
@TheSoundFXGuy Күн бұрын
It's been a very long time since I've been in Unity so I can't say for certain.
@lukesfilmltd
@lukesfilmltd 3 күн бұрын
thank you so much for this video!
@JohnTosom
@JohnTosom 3 күн бұрын
Nice trick, Thank you.
@maxicangreg
@maxicangreg 14 сағат бұрын
this is so helpful
@Alpha_GameDev-wq5cc
@Alpha_GameDev-wq5cc 3 күн бұрын
Does this also works with multiple players? Like can one player be in a data layer 3 while the other is in 1 and they can’t see each other
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
That is a question I do not have an answer to but I can certainly look into it.
@Alpha_GameDev-wq5cc
@Alpha_GameDev-wq5cc 2 күн бұрын
@@TheSoundFXGuy thx, please let us know if you do!
@ESPGameTeam
@ESPGameTeam 3 күн бұрын
Hey So this is basically like Level Streaming?
@TheSoundFXGuy
@TheSoundFXGuy 3 күн бұрын
There are definitely some similarities. Level streaming came long before data layers though (UE3 or 4 I can't remember) where as Data Layers were introduced with world partitions. This was to help handle asset cache as game maps became larger and more "Open world". Data layers are a little more granular than level streaming and better performing. With level streaming, you were loading an entire level's worth of information into memory including all the world data, game mode, and other back-end things. With data layers, you're just loading what you need and it's just using the world data that's already there. Kind of like a plugin for a piece of software.
@ESPGameTeam
@ESPGameTeam 3 күн бұрын
@@TheSoundFXGuy I see the case, so for example everything in your video is actually already loaded, and the trigger box basically just activate/deactivate it's visibility
@TheSoundFXGuy
@TheSoundFXGuy 3 күн бұрын
@ correct and then when I load layer 3 in, I completely unload layer 1 since I didn’t need it anymore.
@ESPGameTeam
@ESPGameTeam 3 күн бұрын
@@TheSoundFXGuy Wow so it's actually Level Streaming but even more advanced. You can still unload scenes when necessary. Also, you can trigger this with a collision box, and for level streaming you must be in the level streaming volume, which is quite annoying. Thank you for this video, just found a new perfect way to optimize!
@RahhmiPoofs
@RahhmiPoofs 2 күн бұрын
anyone ever tell you that you look JUST LIKE Bubba Ray Dudley?
@TheSoundFXGuy
@TheSoundFXGuy 2 күн бұрын
You would be the first lol. He can grow better facial hair than I can though.
@MyBucketL1st
@MyBucketL1st Күн бұрын
In short "Portals"
@tangentsmith2961
@tangentsmith2961 Күн бұрын
It looks like recent release of Miside by two developers made people think that games can be less primitive than todays AAA titles! Lol
@TheSoundFXGuy
@TheSoundFXGuy Күн бұрын
I actually just saw Miside being played for the first time the other day and it was really impressive.
@tangentsmith2961
@tangentsmith2961 Күн бұрын
@@TheSoundFXGuy Yeah. Cool lil game with all the possible mechanics and features in one place. It is really cool that the game became quite popular so many gamers may see what two people are capable of making game with love and passion. It is also cool that you show people that it is not that hard to implement such features inside the game engine.
Guide to Snow Effects with Ultra Dynamic Sky | Unreal Engine 5
19:04
World Partition And Data Layers - Unreal Engine 5 Tutorial
26:33
Pitchfork Academy (MizzoFrizzo & Co.)
Рет қаралды 17 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
TRACK HAWK POV
8:26
Ginkx 2.0
Рет қаралды 157
I RESTORED Ambient Occlusion Control in Unreal Engine 5!
15:21
Arghanion's Puzzlebox
Рет қаралды 3,8 М.
Why do Studios Ignore Blender?
8:52
Film Stop
Рет қаралды 447 М.
UE5 Layered Material Workflow Breakdown - Intermediate class
1:20:11
Daniel Cormino
Рет қаралды 13 М.
Sound Concurrency | Unreal Engine
16:42
The Sound FX Guy
Рет қаралды 1,2 М.
AI Image to 3D Game Ready Character for Indie Developers | Unreal Engine
15:11
Build Environments 2X faster With This Tip in Unreal Engine 5
3:27
Unreal Engine 5 | Microphone as Controller
19:07
The Sound FX Guy
Рет қаралды 2,6 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН