Unreal Engine 5 Tutorial - Data Layers

  Рет қаралды 38,862

Ryan Laley

Ryan Laley

Күн бұрын

Пікірлер: 68
@clemsamuel105
@clemsamuel105 8 ай бұрын
Warning: This video is out of date. If you are looking to learn how to create and use Data Layers, the process has changed. In short, you must create a Data Layer Assets (under the "miscellaneous" category), and then assign that layer to your level via the Data Layers window. If you create the Data Layer first you can assign it to the Data Layer asset you created. The rest of the above video works as described.
@Way2Close
@Way2Close 10 ай бұрын
Such a calming and informative teacher. Thank you.
@Developesque
@Developesque Жыл бұрын
I wish I had a guy like you in my dev life. Thanks for all your videos!
@Baleur
@Baleur Жыл бұрын
This is so simple and brilliant. This was the missing key to make my procedurally spawned outposts work. With a simple Select node or a random float which ties into something similar, i can now simply activate randomly selected datalayers representing entire outposts on a moon's terrain. Brilliant.
@maxmustsleep
@maxmustsleep Жыл бұрын
can you spawn / move them at runtime or is it fixed in the location you placed it when creating the level?
@ShiroiAkumaSama
@ShiroiAkumaSama 2 жыл бұрын
This looks super useful for horror games, where you enter a room but when you turn around the room changed. At least with this feature it is much more simplified.
@dreambadger
@dreambadger Жыл бұрын
Yeah I can imagine player walks in a hidden trigger box, a glass smashes behind them, they turn around and the door they came in through is now dirty looking corridor. Definitely good for some psychological horror aspects.
@faithfultennysonidama6904
@faithfultennysonidama6904 Жыл бұрын
Cool am wondering can I use a collision trigger to activate it
@harrysanders818
@harrysanders818 7 ай бұрын
First thing I thought of when first hearing about data layers :D Indeed very horror compatible.
@RalphOpinion
@RalphOpinion Жыл бұрын
Hi Ryan, Thanks for this video, this solves my problems, however I have an issue: The option to "add to new data layer" is grayed out. What should I do? I am in UE 5.21, following your instructions at 2:20 in of the video After I select actors, I hover mouse to the data layer window area and right click. The option to "add to new data layer" is grayed out. What should I do?
@Nokugan
@Nokugan Жыл бұрын
I have the same issue on my side.
@mattreevesdev
@mattreevesdev Жыл бұрын
Found a solution to this in a comment. Make a Data Layer asset (found in the miscellaneous tab when creating a new asset). You'll need one for each layer you want to use. You can create a new Data Layer in the Data Layers window, but you can't rename it or use it until you assign a Data Layer asset. Once you create one, select the layer, then drop the asset into the slot and you're good to go!
@MyOwnGamedevChannel
@MyOwnGamedevChannel Жыл бұрын
If anyone comes across this in the future: You can't add things like foliage scatter actors to the layers, that solved the issue for me@@mattreevesdev
@owencoopersfx
@owencoopersfx Жыл бұрын
As someone who works on audio, this is really helpful. It’s been a bit weird trying to adapt to not having sublevels. Great to know there is an analog to it available in UE5 world partition. Thanks!
@mungulor
@mungulor 2 жыл бұрын
I live for your tutorials, it's like learning from the absolute master
@Max_Stupa
@Max_Stupa 2 күн бұрын
Great explanation, thanks!
@DeftlyJ
@DeftlyJ 2 жыл бұрын
I'm making a game where you help people and the more you help the bigger their village gets. This seems like a solution for the way I can handle adding in building over time. Thank you.
@DailyPaily
@DailyPaily Жыл бұрын
This change a bit in 5.1, one more step , still easy to do.
@dreambadger
@dreambadger Жыл бұрын
Yeah I noticed this. You have to create a data layer data table, but it prompts you to do so. Then open that and change to run time, then the advanced option appears.
@shanecanning9991
@shanecanning9991 4 ай бұрын
Great video, thank you!
@ThirstyThursten
@ThirstyThursten 7 ай бұрын
I know this video has lads of comments, but anybody figured out how we can "hold" vars when inloading and reloading a Datalayer? Like when you set a Bool on an interaction, but when you unload and reload the Datalayer the var is empty again. Any tips?
@Abdou3131
@Abdou3131 2 ай бұрын
Maybe saving before unloading (save/load class)
@RubyRose207
@RubyRose207 8 ай бұрын
I know this might be a dumb question but, if I had an area that isn’t loaded until you were to actually go to that area and it unloads whenever you leave is it for per player or just everyone? So if someone enters the room does it load for everyone or just one person?
@beauxhunkman1997
@beauxhunkman1997 Жыл бұрын
Do data layers only work with data layer assets? I was trying to organize my level using the regular layers at first, but ran into a world partition issue. I guess when using WP, you cant use layers, or something like that. Which led me to looking up data layers. I was trying to add stuff to a data layer, but it only added once i went into the "Details" panel and toggled with the "Data layer asset' settings. Is that really the only way to use data layers, having to convert all my assets to data layer assets, or am I missing something...?
@milanchu98
@milanchu98 6 ай бұрын
Hi Ryan, how do you manage with data layers on multiplayer games?... Data layers are authority only, only runs on server
@phyll24
@phyll24 Жыл бұрын
Hi, i implemented this and it worked great... until i cant spawn without a selected pawn and when I reach a certain distance it just stops and ditches the pawn
@TimCrinion-j2r
@TimCrinion-j2r 11 ай бұрын
So what's the difference between putting the 2 airships in the same data layer, and parenting them to the same folder in the level outliner?
@IRONthumbs1
@IRONthumbs1 Жыл бұрын
Can we get Foliage to work with Data layers?
@IRONthumbs1
@IRONthumbs1 Жыл бұрын
For anyone finding this comment later. Yes we can. Once you have made a data layer, double click it in the datalayer tab and it will say (Current). Everything you do whilst your data layer is set to current will only apply to that data layer. Including foliage. Hope this helps someone
@emptybruh
@emptybruh 3 ай бұрын
How can I make specific actor persistent always no matter how far loading and unloading is
@mayssayasmina2072
@mayssayasmina2072 Жыл бұрын
great! is it possible to make this with a boton i mean activate /show layers with botton
@LoganPinney
@LoganPinney 2 жыл бұрын
Where did you learn about data layers?! 😉 awesome channel Ryan! Super grateful I got to meet you! Looking forward to seeing you at another event soon! Cheers man!🤟
@faithfultennysonidama6904
@faithfultennysonidama6904 Жыл бұрын
Can it be used in mobile game development
@astralstormgamestudios1259
@astralstormgamestudios1259 10 ай бұрын
What about loading in when a WP cell loads in?😊
@pakhet
@pakhet Жыл бұрын
When we have a data layer group containing let's say for example three sub data layers, is it possible to edit them all together in the same time? (in order to edit other sub data layer it's pretty annoying that first you have to exit from editing on sub data layer in order to be able to edit another one)
@polyowl3D
@polyowl3D Жыл бұрын
I can't seem to find it, but how do we check if a data layer is fully loaded. The get data layer runtime state and effective state nodes tell me it's loaded right after it's done in the execution. But i can see that the data layer isn't fully loaded. Is there a node or a way for me to check that?
@alessiobelli
@alessiobelli 2 жыл бұрын
Thanks! Any chance to see a tutorial on the HLOD Layer system?
@val_evs
@val_evs 11 ай бұрын
how to load a new map in a new way? and another question: when I select an object and try to create a data layer, it’s not active for me. I can only create a new empty layer. - ue5.3
@fryman999
@fryman999 10 ай бұрын
@RyanLaley Looking for ways to modifier my level; Im thinking Data layers is the right track or direction but; let's say, I have a day/night cycle; can I use Data Layers to do things like; modify enemy health, or DMG; when the environment is in a particular state? Day enemy health normal, Night cycle enemy health increased? Hopefully that made sense. If anyone in the comments ahs ideas i would love to hear them.
@eggZ663
@eggZ663 11 ай бұрын
Anyone know anything about what the debug colour is used for? I can't t find and docs about it and it sounds cool - if it does what i think it might...
@arejays6701
@arejays6701 Жыл бұрын
KZbin gold ✨
@arejays6701
@arejays6701 Жыл бұрын
Not working in 5.1 :) , please make us an updated tutorial , pretty please!
@summer.vfX-trem
@summer.vfX-trem Жыл бұрын
careful data layer not working in 5.2
@sayrusan2127
@sayrusan2127 Жыл бұрын
how to make it so that the actor is not unloaded in a better way and so that it can be seen from afar
@nullmorpheme
@nullmorpheme 2 жыл бұрын
Hey Ryan! Thank you for the video. Question: My project is currently split into sublevels. Do I have to merge all subs into persistant level and then convert to world partition? Thank you.
@geoffrey3668
@geoffrey3668 2 жыл бұрын
Thanks for the video! I like this kind of format.
@swrcPATCH
@swrcPATCH 2 жыл бұрын
Lets say I'll make a huge open world map. Can I use this for optimizing my map/game/level? From my understand I could but I am not to sure if that's truly it's purpose :3
@hunteriv4869
@hunteriv4869 2 жыл бұрын
It doesn't really optimize if your goal is just to keep distance objects unloaded. World partitions are already designed with dynamic loading and unloading in mind, so no matter how big your map is if you have it broken into partitions it will stay performant. What data layers are used for is real-time changes to your map, such as removing a town and replacing it with a destroyed one if you fail a quest, or having an "upside down" or alternate dimension version of the same map you want to swap between. Rather than writing your own methods to remove and replace objects, terrain, and other aspects of a large open-world level, data layers utilizes the existing level streaming system to stream out and in these changes rather than streaming out and in distant objects, so you save a ton of development time and performance by using them instead of manual alterations to your game world. Basically, any time that you would want to make changes to groups of objects in an existing map, rather than load and unload them by using tags or another data structure just save them in a data layer and stream them in and out. You'll save time and performance. But if your goal is just to unload distance objects you'll want to mess with the world partition and nanite settings, not data layers, as those are already designed with abstracting and unloading distant geometry in mind.
@swrcPATCH
@swrcPATCH 2 жыл бұрын
@@hunteriv4869 Oh ok, that makes a lot of sense since I knew there was world partitions alrdy. Ok, thanks a lot for this detailed explanation!
@unrealdevop
@unrealdevop 2 жыл бұрын
Great vid, I thought I was doing it wrong, but I forgot to re-set the data layer for my variables after moving stuff around.
@blaiseandthebambina
@blaiseandthebambina Жыл бұрын
"Data layers are like level system, so if you know how to do that then its very similar." Doesn't really help those that don't know how to use level system since new to UE.
@souhaibbenchaker4824
@souhaibbenchaker4824 2 жыл бұрын
I've been following your tutorials for ages and this is the first time i actually saw you and i gotta say you sound way younger than you are.
@carlosrivadulla8903
@carlosrivadulla8903 2 жыл бұрын
I engourage u to keep this format of one video topic coverage. Since u take a lot of time on releasing chapters for ur series I miss the thread and the interest on the series because I can't follow it well. First time watching one of ur videos in a long time due to that. Btw ty for this great video.
@NightVisionOfficial
@NightVisionOfficial 2 жыл бұрын
I don't really know what you've been doing on the video, but for sure im saving this on my UE5 playlist :)
@rifat.ahammed
@rifat.ahammed 2 жыл бұрын
Thank You
@MusicalGeniusBar
@MusicalGeniusBar 2 жыл бұрын
Can you make a tutorial on how to make a game that switches planets using data layers? Like star citizen
@dyna4studio942
@dyna4studio942 2 жыл бұрын
Data Layers crash with Foliage. Thanks for the video. .....Well, i Found the solution : ) Cheers.-
@punchline1729
@punchline1729 2 жыл бұрын
what is the difference between" loaded " and " activated ", I didn't quite understand the difference? also, how can we access this feature through C++ ( since I've just started working with C++ inside UE5 I don't know much about how to do things that I usually do with BPs in C++ ) thanks for great tutorials
@rageinthecage3900
@rageinthecage3900 2 жыл бұрын
not sure but loaded means that the objects get loaded but not visible, which may get them displayed faster because it is already in memory, unloaded should take longer but can make the games performance better until you load it in. again not sure but this is how i understood it
@punchline1729
@punchline1729 2 жыл бұрын
@@rageinthecage3900 thanks for enlightening me
@rageinthecage3900
@rageinthecage3900 2 жыл бұрын
@@punchline1729 hehe, better than nothing right? sry
@punchline1729
@punchline1729 2 жыл бұрын
@@rageinthecage3900 all good
@rageinthecage3900
@rageinthecage3900 2 жыл бұрын
@@punchline1729 probably you are beyond this right now, things move fast in gamedev-world ;D
@tommynorberg
@tommynorberg 2 жыл бұрын
thank u :)
@shifugurugaming
@shifugurugaming 2 жыл бұрын
is this what is used to load and unload things at distances?
@brenolad
@brenolad Жыл бұрын
It's not covered in this tutorial, but it's a setting on the actor's detail properties under 'Is spatially loaded' if true it'll load based on the streaming source range in the world partition
@SoftYoda
@SoftYoda 2 жыл бұрын
Can we add tags to datalayer, so we can for example select all other "interior" tag and disable them when we are inside a specific interior and don't want other layers loaded?
Unreal Engine 5 Tutorial - Level Instancing
9:27
Ryan Laley
Рет қаралды 47 М.
World Partition And Data Layers - Unreal Engine 5 Tutorial
26:33
Pitchfork Academy (MizzoFrizzo & Co.)
Рет қаралды 15 М.
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 2,5 МЛН
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 70 МЛН
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 79 МЛН
5 Tricks you (probably) don't know about Unreal Engine 5
10:44
Cinecom.net
Рет қаралды 396 М.
Unreal Engine 5 Tutorial - Data Assets
11:13
Ryan Laley
Рет қаралды 57 М.
Unreal Engine 5 Data Layers Tutorial
7:59
JSFILMZ
Рет қаралды 43 М.
Epic's Unreal Optimization Disaster | Why Nanite Tanks Performance!
13:07
Threat Interactive
Рет қаралды 236 М.
I Struggled With Blueprint Interfaces for Years!! (Unreal Engine 5)
16:48
Glass Hand Studios
Рет қаралды 190 М.
How I Built This Elden Ring Environment in Unreal Engine 5
44:24
Aziel Arts
Рет қаралды 103 М.
Create Massive World in 30 min -  Unreal Engine 5.1 and Gaea
18:39
Large worlds in UE5: A whole new (open) world | Unreal Engine
29:32
Unreal Engine
Рет қаралды 363 М.
Getting into C++ with Unreal Engine - Part1 - Setting up
34:49
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 2,5 МЛН