Тёмный

Unreal Engine 5 Tutorial - Data Layers 

Ryan Laley
Подписаться 103 тыс.
Просмотров 35 тыс.
50% 1

In this video tutorial we talk about the new Data Layers feature in Unreal Engine 5.
SUPPORT ME
Patreon I / ryanlaley
Buy Me a Coffee I buymeacoffee.com/RyanLaley
Donations I paypal.me/ryanlaley
PRIVATE 1-2-1 SESSIONS
Email me at support@ryanlaley.com for more information and rates, or visit www.ryanlaley.com/learn-games-...
JOIN THE COMMUNITY
Discord I / discord
FOLLOW ME
Twitter I / ryanlaley
Facebook I / ryanlaleygames
Instagram I / ryanlaleygames

Опубликовано:

 

16 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 64   
@Way2Close
@Way2Close 5 месяцев назад
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?
@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 Год назад
I live for your tutorials, it's like learning from the absolute master
@ShiroiAkumaSama
@ShiroiAkumaSama Год назад
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 7 месяцев назад
Cool am wondering can I use a collision trigger to activate it
@harrysanders818
@harrysanders818 2 месяца назад
First thing I thought of when first hearing about data layers :D Indeed very horror compatible.
@LoganPinney
@LoganPinney Год назад
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!🤟
@geoffrey3668
@geoffrey3668 Год назад
Thanks for the video! I like this kind of format.
@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)
@RubyRose207
@RubyRose207 2 месяца назад
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?
@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.
@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...?
@user-fm9gn5wh1d
@user-fm9gn5wh1d 6 месяцев назад
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?
@mayssayasmina2072
@mayssayasmina2072 10 месяцев назад
great! is it possible to make this with a boton i mean activate /show layers with botton
@clemsamuel105
@clemsamuel105 3 месяца назад
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.
@milanchu98
@milanchu98 Месяц назад
Hi Ryan, how do you manage with data layers on multiplayer games?... Data layers are authority only, only runs on server
@UndermobzRec
@UndermobzRec Год назад
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
@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?
@nullmorpheme
@nullmorpheme Год назад
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.
@alessiobelli
@alessiobelli Год назад
Thanks! Any chance to see a tutorial on the HLOD Layer system?
@DeftlyJ
@DeftlyJ Год назад
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.
@val_evs
@val_evs 6 месяцев назад
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
@RalphOpinion
@RalphOpinion 11 месяцев назад
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 11 месяцев назад
I have the same issue on my side.
@mattreevesdev
@mattreevesdev 10 месяцев назад
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 8 месяцев назад
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
@eggZ663
@eggZ663 6 месяцев назад
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...
@unrealdevop
@unrealdevop Год назад
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.
@astralstormgamestudios1259
@astralstormgamestudios1259 5 месяцев назад
What about loading in when a WP cell loads in?😊
@faithfultennysonidama6904
@faithfultennysonidama6904 7 месяцев назад
Can it be used in mobile game development
@ThirstyThursten
@ThirstyThursten 2 месяца назад
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?
@carlosrivadulla8903
@carlosrivadulla8903 Год назад
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 Год назад
I don't really know what you've been doing on the video, but for sure im saving this on my UE5 playlist :)
@fryman999
@fryman999 4 месяца назад
@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.
@souhaibbenchaker4824
@souhaibbenchaker4824 Год назад
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.
@arejays6701
@arejays6701 Год назад
RU-vid gold ✨
@arejays6701
@arejays6701 Год назад
Not working in 5.1 :) , please make us an updated tutorial , pretty please!
@IRONthumbs1
@IRONthumbs1 8 месяцев назад
Can we get Foliage to work with Data layers?
@IRONthumbs1
@IRONthumbs1 7 месяцев назад
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
@rifat.ahammed
@rifat.ahammed Год назад
Thank You
@MusicalGeniusBar
@MusicalGeniusBar Год назад
Can you make a tutorial on how to make a game that switches planets using data layers? Like star citizen
@sayrusan2127
@sayrusan2127 10 месяцев назад
how to make it so that the actor is not unloaded in a better way and so that it can be seen from afar
@SoftYoda
@SoftYoda Год назад
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?
@swrcPATCH
@swrcPATCH Год назад
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 Год назад
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 Год назад
@@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!
@tommynorberg
@tommynorberg Год назад
thank u :)
@punchline1729
@punchline1729 Год назад
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 Год назад
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 Год назад
@@rageinthecage3900 thanks for enlightening me
@rageinthecage3900
@rageinthecage3900 Год назад
@@punchline1729 hehe, better than nothing right? sry
@punchline1729
@punchline1729 Год назад
@@rageinthecage3900 all good
@rageinthecage3900
@rageinthecage3900 Год назад
@@punchline1729 probably you are beyond this right now, things move fast in gamedev-world ;D
@blaiseandthebambina
@blaiseandthebambina 10 месяцев назад
"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.
@dyna4studio942
@dyna4studio942 Год назад
Data Layers crash with Foliage. Thanks for the video. .....Well, i Found the solution : ) Cheers.-
@nurbdailym
@nurbdailym 9 месяцев назад
careful data layer not working in 5.2
@sonny5974
@sonny5974 Год назад
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
Далее
Unreal Engine 5 Tutorial - Data Assets
11:13
Просмотров 46 тыс.
Coca-Cola 😂🫲
00:20
Просмотров 3,8 млн
Unreal Engine 5 Tutorial - Level Instancing
9:27
Просмотров 42 тыс.
How To Paint Landscapes in Unreal Engine 5
20:13
Просмотров 50 тыс.
Simplified Guide: UE5's World Partition Tool Tutorial
12:59