Тёмный

Unreal Engine 4 - Easy Loading Screen Tutorial - Blueprints Only 

Reids Channel
Подписаться 30 тыс.
Просмотров 49 тыс.
50% 1

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

 

8 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 281   
@dr.timelord0483
@dr.timelord0483 2 года назад
For anyone using UE5 and world partition for some levels, one way you can achieve this as well is by combining the open level and load level nodes. What you do is follow the tutorial as shown, but when it comes to actually open the levels you add a slight delay and then put open level, this will allow for your loading screen to work with levels outside your persistent level's subdirectory. This also allows for change in game modes without going through more hassle than you need
@rios7744
@rios7744 Год назад
i'm a bit lost, can you elaborate a bit on this? so you dont use streaming and instead just a random delay?
@rios7744
@rios7744 Год назад
@alexandrdrop nope, for now the only workaround i found for that bug is to make a new empty level and use that instead. empty levels made from scratch are not world partitioned. partitioned worlds will always cause that crash, and there's no way to disable partition
@connorburrus6069
@connorburrus6069 Год назад
Dude you're a champion for figuring this out! You saved me lots of time!
@bobgratton2986
@bobgratton2986 Год назад
but then your ui is not a loading screen anymore but just an image being shown on the screen....the purpose of loading the page while the game load is lost
@christophemathieu7836
@christophemathieu7836 3 года назад
Thanks, bored to find people doing loading screens with a widget and a delay, lol. Thanks again man
@ArcadeForeverMF
@ArcadeForeverMF 3 года назад
me too -)
@fl260
@fl260 2 года назад
Man, great tutorial. Fantastic tutorial in fact. Two things. 1-In the Loading Screen Widget, where we created two Functions: One called "Fade-In" and the other "Fade-Out", where we fade the animations. In the Fade-In, you included "Add to Viewport" but forgot to then also add "Remove from parent" in the Fade-Out function. This is why you got a yellow alert (I am sure you knew about it, just mentioning for your audience). 2-For people who are using a Main Menu as their first map, where when you hit "Play" or "Start Game" you transition from that level to your real first level... maybe your Main Menu widget is not disappearing. Well you need to remove it from parent also.
@ryanmaguire8940
@ryanmaguire8940 2 года назад
I encountered the first problem but found that adding the "Remove from Parent" node to the Fade out Function would cause the loading screen to disappear before it had finished its fade. Since delays and custom events aren't possible in a function, the best place to put the Remove from parent node was in the EventFadeOutFinished custom event in the Persistent Level blueprint. This goes unused in this tutorial but is the perfect place for the Remove from Parent node as it will not fire until after the animation has finished. Thank you for identifying where my warnings were coming from as I was a bit stumped on that one. Just thought I would add my findings to yours to ensure others can find the answer to this issue!
@RyouTheMad
@RyouTheMad 2 года назад
this fixed my main menu issue, it was like frozen and couldn't click on on any buttons, adding the "remove from parent" fixed it thanks
@fl260
@fl260 2 года назад
@@RyouTheMad Rewarding to know I was able to help. 👍
@aceofbacons3225
@aceofbacons3225 2 года назад
@@ryanmaguire8940 Sorry can you elaborate on this? I am trying to remove from parent straight out of the custom event fadeoutfinished, but I am not getting the "Remove from parent" node
@ryanmaguire8940
@ryanmaguire8940 2 года назад
@@aceofbacons3225 Not sure if you mean that the remove from parent node isnt coming up when you try to add a node? If dragging from the relevant widget pin doesn't bring up remove from parent node, try just adding the node separately and connect them. If it still isn't appearing when you search, try turning off context sensitive and searching for it again. Hope you find it!
@mizfyre8228
@mizfyre8228 3 года назад
Easily the best tutorial channel on youtube...great job Reid
@ReidsChannel
@ReidsChannel 3 года назад
Thanks :) And thanks to you - you've been around since the start.
@SiavashShahlaei
@SiavashShahlaei 4 года назад
Thank you so much for this, not only I learned the loading screen I finally understood how event dispatchers work thanks to the great tutorial!!
@ReidsChannel
@ReidsChannel 4 года назад
Siavash Shahlaei no problem 🙂
@virtualworx
@virtualworx 2 года назад
I already knew what to do here, but there where so many little tweaks and much cleaner solutions on your side, that im sitting here...mindblown...and realising how much potential for optimizations i have on my project. I really want to thank you for your great tutorials and the work you put in those videos! Keep up the awesome stuff, 100% subbed!
@Mukar
@Mukar 3 года назад
NOTE: To anyone using this system. If you activate a level transfer while the game is actively paused, NOTHING will happen. Your game will hand and "load" infinitely. In such a case, you must unpause before executing the level transfer.
@AHabib1080
@AHabib1080 Год назад
Love you brother. Thank you soooooooooooooooooooooooo much..it solved my problem.. Might even give you a hug if u were here. Just want to say, thank you for making the community better. Peace brother
@dylanroemmele906
@dylanroemmele906 2 года назад
One of the best UE4 channels, I've learned a lot more that is actually useful for games as a whole instead of useful for creating a singular system like many other UE4 channels.
@Tomekeeper
@Tomekeeper 2 года назад
I deeply appreciate that you've demoed the end result before diving in.
@xxerbexx
@xxerbexx Год назад
One of a few actual good tutorials, finish to start, short recaps, clear talking.
@GameTourist491
@GameTourist491 4 месяца назад
Thanks a lot, still very helpful after 4 years
@elaboratebagel
@elaboratebagel 2 года назад
If you're having issues with your level not loading in correctly when using this then its possibly because your game mode isn't being loaded. Every level in the hierarchy will open the same game mode as the load level. Discovered this when trying to load from menus to gameplay. So you may want to create different highrachys for different type of levels though you'd also need some kind of mediator to transition between one type to another. Or you can adapt everything to work off of one game mode if that's a viable option for the style of game you're making.
@wolfboos
@wolfboos 2 года назад
So, I've seen several other tutorials to see what's special with this one... And I gotta say this functionally is way easier to understand, and is very easy to use. I've never really understood what loading a level means, cuz I've always have used "Open level"... but now I do. There are several things which I had never used ever such as event binding and dispatchers, so it was a great learning experience to also search them up and learn them. (My monkey brain was too lazy to learn about event binding, cuz how can you trigger something with a backwards pin? ... yes monkey brain) The way you provided is spot on amazing and it was easy to learn, thanks a lot!
@nfrancisj2122
@nfrancisj2122 8 месяцев назад
For separate maps, not sublevels, I'm using Async Load Asset. Just select the Map/Level as the Asset. Top excepin to loading screen, bottom (completed) to open level
@diesergeldjunge4183
@diesergeldjunge4183 7 месяцев назад
Do you actually have to Connect the "Object" node to Open Level?
@sam_making_games
@sam_making_games 4 года назад
You have absolutely no idea how much I respect you right now. Not only you've taught me how to load levels but also did so with elegant logic. You've no idea how much I get pissed when person making a tutorial just does things with using a bazillion nodes when the same could be done with less nodes if they actually think about it properly and refactor their code. Edit: What's you Discord?
@ReidsChannel
@ReidsChannel 4 года назад
sam_bread Haha yeah I 100% agree. Some tutorials out there are pretty awful. My discord is: blindopoly#1003
@bay-star7879
@bay-star7879 4 года назад
Best Tutorial ever. very helpful.!! no other tutorial explains everything in a non complicated matter . Thank you :)
@Xyoni_htklv
@Xyoni_htklv 3 года назад
You explained dispatchers like no other Thank you.
@davidshapcott3034
@davidshapcott3034 4 года назад
This is exactly what I was looking for, I made a loading screen and got it all working, but at the end of the delay the screen froze until the level opened up, but this is a great tutorial.
@borisswiykouski1279
@borisswiykouski1279 3 года назад
Did you get a resolved of that?
@andrewbyrnes6389
@andrewbyrnes6389 3 года назад
I hope you can never stop making videos you’re a god send homie
@Brotisyt
@Brotisyt 4 года назад
Thank you so much. The Tutorial from UE4 official Was so long, but yours is so Short, and so good explained, so. Thank you, for this. Like & Sub you have Save!
@ReidsChannel
@ReidsChannel 4 года назад
Hey thanks! Glad you enjoyed it. Thanks for the sub!
@keontewilson5195
@keontewilson5195 4 года назад
There's a more efficient way to make a loading screen, but I did learn something new. I didn't know that Unreal already had an event dispatcher for when an animation finishes. This whole time I've been using a timer that counts down the duration of the animation. Thanks.
@chinuonchaitanya8340
@chinuonchaitanya8340 4 года назад
what is ther other way of loading levels?
@keontewilson5195
@keontewilson5195 4 года назад
@@chinuonchaitanya8340 The Unreal Engine channel has a video called Async Loading Screens and Transition Levels, but that's a little complicated for me. Based on other sources I believe the easiest way for Unreal noobs like me to understand is by using Level Streaming. I believe the video we're commenting under did use level streaming, but I feel like it could have been much easier. I haven't tested this out yet, but from my understanding if you use level streaming you can load levels during runtime. There's a level streaming function called IsLevelLoaded that returns true if the streamed level is loaded and false if not. What I would try is add your loading screen to the viewport, then load your level in the background. In your loading screen have a timer that calls the IsLevelLoaded function every second or however often you want and if it returns true remove your loading screen from the viewport and BAM, your level has been loaded. Like I said, I haven't tested it out yet, but it should work. I'll look into testing it and if it does work this RU-vidr can make another video using this approach.
@chinuonchaitanya8340
@chinuonchaitanya8340 4 года назад
@@keontewilson5195 I see...my inputs are not working after I load level using this... although I have make sure to set the input mode to UI only. I am loading a character scene(in a different level) after this loading screen(in a different level). ...and mouse is not working in it...do you have any idea.?
@keontewilson5195
@keontewilson5195 4 года назад
@@chinuonchaitanya8340 You want the mouse cursor to show on the screen? If so, set ShowMouseCursor to true.
@chinuonchaitanya8340
@chinuonchaitanya8340 4 года назад
@@keontewilson5195 I already did...I am just unable to press the button... although it's work completely fine when I am loading the level seperately..but it didn't work when I am loading it through streaming level..that is after the loading screen.
@mariow.4010
@mariow.4010 4 года назад
Thank you for this nice video. It really helped me for my project and even after some errors you help me via discord. Really nice.
@ReidsChannel
@ReidsChannel 4 года назад
No problem :) Glad to help
@misterrider19
@misterrider19 3 года назад
Hi, so I just want to thank you for this tutorial, I didn't knew anything about persistent level and I was planning to use "open level" node each time that the player reach a trigger that send the player to a new level. Also, I wonder as my game contain 44 levels, so isn't that too much sub-levels ? (so far, 10 are developped) Anyway, thank you as the loading screen was something I had in mind and struggled with since 2016 !
@ReidsChannel
@ReidsChannel 3 года назад
44 might be a lot to manage. It isn’t too much for unreal to handle but might be better for you to organize them into different persist levels for your own organization
@MyFpZ
@MyFpZ 3 года назад
İt take too long to understand what are you doing (like 2 day). But finally I learned Event, Variables and how to communicate between levels. LoL thanks for tutorial.
@HacknShred
@HacknShred 4 года назад
Extremely helpful video, thanks a bunch!
@crazyguy7585
@crazyguy7585 4 года назад
i found Diamond on youtube ur amazing and very smart :)
@ReidsChannel
@ReidsChannel 4 года назад
Thank you :)
@novaria
@novaria 4 года назад
Hehe just sent someone who had a question about loading screens to this video. Again, awesome explanation
@SuperSable
@SuperSable 4 года назад
yeah the warp effect one XD
@jamiedoyle6836
@jamiedoyle6836 3 года назад
Excellent video great explanation always wanted to do that now i can thanks so much and keep up the good work :D
@otohmatthew5467
@otohmatthew5467 3 года назад
Excellent tutorial. thank you so much! Hopefully I can use this logic and adapt it to my current game.
@yt-uq3wi
@yt-uq3wi 4 года назад
I'm sorry, but the level doesn't change after the loading screen, how can I fix it? (PS, I'm doing it in First Person Mode)
@LillyCox777
@LillyCox777 Год назад
I was thing wow, we've I seen this before, and I remembered a game called railroad online looks like it uses this exact tutorial for its loading screen
@sgtbooz
@sgtbooz 3 года назад
Event dispaching is certainly the way to go for this. However you will have pawn spawning and collision problems if you do not have player pawns pre-placed on the scene, or if levels are larger, or if AI is present with NavMeshes. You might want to augment your solution with having Player Starts, Collisions, NavMeshes and AI on the Persistent Level and only visual and audio assets on streamed levels.
@stefanleroux8750
@stefanleroux8750 3 года назад
Wow. Thank you for this tutorial. 👍🏻👍🏻 Love it.
@Umarbit
@Umarbit 3 года назад
Game Mode and Player controller is also staying persistant! When I load my main level through persistant level, the pawn does not spawn! And I also want Game mode to change because it also contain some functionality. How can I change that?
@Umarbit
@Umarbit 3 года назад
I figured it out on my own! Just keep game mode same of main level and set default pawn to none and in main level manually place pawn and set auto possesed enable to player 0!
@misterrider19
@misterrider19 3 года назад
@@Umarbit bro, thanks I was stuck on the same problem !
@pulkitpr
@pulkitpr 3 года назад
@@Umarbit thank your
@CRUMVIII
@CRUMVIII 2 года назад
Very in depth video. Taught me quite a bit so thanks. :)
@sandromaric6226
@sandromaric6226 4 года назад
You are my Hero of the day!! ...
@Vangriffeth
@Vangriffeth Год назад
WIDGET PRESENCE - Remove from Parent vs SET Visibility: I've seen several comments here that one of the things that needs to be done to make widgets go away is to call the node "Remove from Parent". The issue here is that the remove from parent node is the equivalent of deleting the widget from the viewport. This may or may not be what you are looking for, and if so, then feel free to ignore this next part. In some instances, keeping the UI in memory but having it not shown is more preferable. Usually the UI is not that memory intensive, so using a SET node is likely better. That is, if you drag off of a UI Object and type "SET Visibility" you can make your UI element "Hidden", "Visible", "Not Hit Testable", or "Not Hit Testable to Self" all of which may be a better option than "Remove from Parent".
@enoljunquera
@enoljunquera 2 года назад
Hi everyone. First of all, great tutorial. Even if it is long, I've been learning useful concepts during the whole video. The architecture implemented is elegant and really optimized. I was just wondering if there's any option to change the GameMode at the same time I stream the new level or if I should have only one game mode for all the different levels. Thanks in advance!
@naimaware
@naimaware 4 года назад
I folowed all tutorial , but I have a menu , how I link the loading screen effect event to the pressure of my button in the main menu? so that it loads the level?
@elegmant
@elegmant 4 года назад
Did you find the answer???
@omegablast2002
@omegablast2002 4 года назад
You would call the event smoothloadlevel from the gameinstance in the umg..getgameinstance->smoothloadlevel
@Slash27015
@Slash27015 3 года назад
Great tutorial, thank you kindly!
@gitarrtoken
@gitarrtoken 2 года назад
Great tutorial! Thanks!
@xxerbexx
@xxerbexx Год назад
Hmmm A problem i have is that whenever i load the next lvl, the character spawns at 0,0,0 and not the player start? but only useing that setup, the player start works when i play with lvl1 open
@waseemhaji2372
@waseemhaji2372 4 года назад
Thats what i was looking for....thanx
@vivekvyas6819
@vivekvyas6819 3 года назад
Thank you so much for this amazing tutorial..! :)
@ArcadeForeverMF
@ArcadeForeverMF 3 года назад
Thank for this !
@ArcadeForeverMF
@ArcadeForeverMF 3 года назад
but i have not event on initialized on my old UE4.15....
@yeonjoopark1968
@yeonjoopark1968 2 года назад
This is great Tutorial, But after loading stream level, I can't click any buttons. Idk what is the problem and can't find similar issues. I think some settings affect UI control. Do you know why its happen?
@quechus13
@quechus13 2 года назад
Sorry i get tons of bugs by doing this, for one, my character no longer creates running sounds, I get "accessed none trying to read property Character Reference in my AnimBP". Also it spawns in different places on the levels even after deleting Player Start and doing an instance of my character with Player set to 0. Persistent level loads my levels and lags a lot on the viewport wonder if theres a way to fix that as well. Any help would be EXTREMELY appreciated.
@pabloa4672
@pabloa4672 2 года назад
Supposedly if you make a persistent level and create a widget showing the Loading-screen while loading a stream level, it would do the same thing. But the problem is as much as my example that I mention and also in this video. For the reason of using Loading stream level. I'm going to explain myself, no matter how much you activate Make Visible After Load, it really doesn't load everything. For example foliage, the geometry is loaded but the foliage will not be all loaded. That means using Loading Stream Level is useless and using a delay doesn't allow players with a faster device to load faster. This adds to the problem for those who have a slow device, it can be greater than the delay so it will not work for you either. Thanks for the video, something can help but it's not enough
@jonytitan3467
@jonytitan3467 4 года назад
thanks
@Brotisyt
@Brotisyt 4 года назад
I got the problem now: I load my Main-Menu Level, the Widget opens, but i cannot press any buttons etc.. can you please help me :)
@ReidsChannel
@ReidsChannel 4 года назад
That could be caused by several issues. Make sure that your game mode is getting set to UI Only before loading the main menu. It's also possible your widget is not in focus or is not focusable, causing you not to be able to interact with it. It's also possible your player controller isn't getting set so it's not allowing you to do any input. Without seeing your code I can't really tell you exactly what the problem is. If you want you can add me on discord and I can help you more from there. My discord is: blindopoly#1003.
@Brotisyt
@Brotisyt 4 года назад
@@ReidsChannel the widget is in my hole project. So i can open it, if i open the Level normally, but if i open it With Level Streaming it doesnt Focus it.
@Brotisyt
@Brotisyt 4 года назад
@@ReidsChannel i will send you on DC :)
@candymangames5022
@candymangames5022 4 года назад
@@Brotisyt I have the same issue.. you find out why?
@Brotisyt
@Brotisyt 4 года назад
@@candymangames5022 no, not yet.. :(
@BrianSmithgrumpygit
@BrianSmithgrumpygit 3 года назад
First fantastic tutorial took a few try's for me to get it but got there. One thing i could do with some help on is i have options screen (resolution, audio that sort of thing) Butt i can't figure out how to load it before the loading screen. Any advice would be much appreciated Thanks.
@darrexz
@darrexz Месяц назад
Hello, I don't know if this comment will be answered, I have a problem. When I click on the button in my main menu, I load my sub-level using level streaming, but you know that my two sections have different game modes, when I don't choose my character as a pawn, my game is broken, but when I choose, my game is not broken, but this time it stays on my player hud screen, can anyone explain about this problem?briefly; when I load my sub-level with level streaming, that is, load stream level, my section opens, but it cannot get my character reference (score, streak and lives do not work because of this and gives an error level1 section)
@Xitech117
@Xitech117 2 года назад
Very helpfull
@TheLegionofKings
@TheLegionofKings 3 года назад
Could you do a tutorial on loading screens/levels like in assassins creed origins where you can run around with just the player while the world loads?
@Martin-vn7gs
@Martin-vn7gs 3 месяца назад
Hello. My problem was that after I load my level, it becomes visible even before Begin Play fires and hides it with a black widget. It wasn't looking the best... I tried your tutorial, but one of my levels has world composition enabled, and it somehow loads itself automatically when I load the "Persistent Level". There probably was much better way to do this, but I felt it wasn't important from gameplay perspective, so my solution was the most dirty thing I ever done in Unreal... I just placed an "unlit" black cube around the initial camera location in that level, and I remove it on begin play. When level loads and it lags for a few seconds, only black cube is visible, and when it starts working (and begin play fires removing the cube) I have a widget loaded with a nice "Fade out" animation. Forgive me God for I have sinned...
@bobgratton2986
@bobgratton2986 Год назад
if I want to make the loading page last longer for any sorts of feedback informations, how would you approach that.
@AyaMohamed-ih5gc
@AyaMohamed-ih5gc 3 года назад
I have an audio problem the audio first plays fine then when I switch between the level the audio doesn't work have anyone faced that problem?
@BlackMadoshi
@BlackMadoshi 4 года назад
Thank you for this tutorial. I have a issue when i start to play like you at 32:19 , my screen is still black, i rewatch 2 times your tutorial but i still can't understand why. I'm new to UE4, V4.25.1. Game instance class is set to the BP Game Instance and all the default Maps to the LoadingScreen Level. Any Idea ?
@ReidsChannel
@ReidsChannel 4 года назад
Thank you :) hmm that could be caused by many things. Are you sure you're loading the starting sub level when you launch the game? Also, make sure that your removing the loading screen widget once you finish loading.
@BlackMadoshi
@BlackMadoshi 4 года назад
@@ReidsChannel It's working now, i restart everything on a new project. Probably a error with link in graph. Thank you for this tutorial
@Cuboid
@Cuboid 2 года назад
Whenever I try to load a level after my initial level(main menu), the second level just shows a black screen, Help!
@novaria
@novaria 4 года назад
Thanks a lot for your splendid demonstration and explanation! One question... How would you personally go about designing a screen loading system which gives you hints as flowing text (e.g. Time Splitters: Future Perfect) while loading levels?
@ReidsChannel
@ReidsChannel 4 года назад
Thanks :) I'd probably add an array of FName's to the loading screen class which you can add as many hints to as you want. Then in the loading screen's tick event, every X seconds, switch the currently displayed hint out for the next one in the array.
@novaria
@novaria 4 года назад
@@ReidsChannel Thanks for answering!
@joacotossello
@joacotossello 3 года назад
Thanks man! I've learnt how EventDispatchers work, how to do my first UI animation and obviously the LoadingScreen. One question, Can I think EventDispatchers as the "Observer" design pattern? thx btw
@ReidsChannel
@ReidsChannel 3 года назад
Thanks, Yeah, basically
@user-ew4bh2tp4r
@user-ew4bh2tp4r Год назад
Can you upload video, how to make game home screen like pubg in Unreal Engine 4 or 5. I'm waiting for you bro
@braden8081
@braden8081 2 года назад
Question, How would you do this if you already had levels and a main menu that once you click on the level you want it would do the loading screen and load the level in the background. For ex: I followed your tutorial with my current project. Now on click play in the engine it shows my loading screen and fades out to black. doesn't open my level, but says my level is loaded in the right. I'm not to worried about that though. I could've just messed up during the tut. I would just like to know the method of using this with a project that has a main menu already created. Thank You, I appreciate your help. Amazing tutorials btw.
@bpm009
@bpm009 4 года назад
Everything worked great. I am trying to follow the item that causes the transition between levels. I'm using TopDown click to move and I have an "On Clicked" function I'm trying to use with the CastToMyGameInstance to EvenSmoothLoadLevel. It doesn't seem to work but I'm not sure what is different in mine from yours, any ideas? I can open my doors on click but when I on click the stairs it isn't transitioning. I load from Persistent and get the loading screen no problem.
@arthurvolpato670
@arthurvolpato670 3 года назад
Thanks for the great tutorial! I do have a question though: I'm loading a relatively heavy level, and it takes about 4secs to load. I did everything exactly the way you did , but my loading bar freezes when it starts to load the stream level. I don't think it is really loading asynchronously. Any thoughts? Thanks and keep up the good work!
@tywinlannister5461
@tywinlannister5461 2 года назад
I have the same situation. Throbbed freezes while level loads. Any input would be great!
@tywinlannister5461
@tywinlannister5461 2 года назад
I continued looking into this and I got mine to work. I unchecked “should block on load” on the “load stream level” node. Hopefully, this is helpful for someone. By the way this tutorial is pretty amazing.
@justfaith_studios
@justfaith_studios 3 года назад
Hi! Great tutorial :) Just want to ask on how can I load all my sublevel at once? I'm using it on an open world with streaming distance levels but my sublevels are causing an fps drop everytime I stream it in-game, especially the first time I load it. So I saw this tutorial and I was wondering if I can load all the sublevels at the start of the game so it will load together with the loading screen and not cause an fps drop bec I already loaded it from the start. Thanks in advance! :)
@ozzi4234
@ozzi4234 3 года назад
Hey, thank you so much for great and straight forward tutorial, that was amazing 38 minutes haha, but i got some problems. So, i have custom character controller, custom gamemode and all this stuff, when i set default pawn class to none, i just can not load my player, level basically loads in, but my player dude not spawning... maybe i miss something, buy i can not understand what's missing. I spawning them via player start point
@ReidsChannel
@ReidsChannel 3 года назад
you cant use player start point in sub levels, you either need to drag an instance of ur player into each sub level at the location you'd like him to start at and set it to auto posses player 0
@ozzi4234
@ozzi4234 3 года назад
​@@ReidsChannel ayyyy, you are my hero! It works perfect! Btw, thank you so much for so fast reply! Have a nice day and good luck!
@wine_sparrow4875
@wine_sparrow4875 Год назад
dude, can i tell us a bit more on the persistent Level. I don't know why the Persistent Level was showing one of my subLevels and accidently deleted one of my sub levels when deleting in Persistent Level. And I freaking saved it. It has been super annoying. Also, just wondering, when starting in persistent level, will it automatically load all sub levels or none of them.
@abdelhaksaouli8802
@abdelhaksaouli8802 2 года назад
I thought Niagra was complicated turned out that Event dispatcher is more complicated
@spectrathegame
@spectrathegame 2 года назад
Hey Reid, great tutorial, but I am having a problem using this system to load World Partition converted levels in UE5 (with partition disabled, as it is not compatible with level streaming.) It works great on non WP levels, but for those converted levels, the widget flashes briefly, followed by an endless black screen. Do you know what might be causing this or how to fix it?
@megtwin
@megtwin 3 года назад
This works great but I have a yellow warning: "wdg_loadingscreen" was already added to the screen. Any idea why?
@victorbiagiottisaintmartin7774
@victorbiagiottisaintmartin7774 3 года назад
Same problem here...
@megtwin
@megtwin 3 года назад
@@victorbiagiottisaintmartin7774 I never did figure it out, I've since abandoned this loading screen
@tywinlannister5461
@tywinlannister5461 2 года назад
You have to remove the widget from parent. You can add a custom event to fade out. Add remove from parent and add the widget as the target. This will resolve this error.
@megtwin
@megtwin 2 года назад
@@tywinlannister5461 Thanks, if I try this again I'll keep this in mind
@SG-po4rd
@SG-po4rd 2 года назад
Idk if i will get any help but i’ll leave a question: Can i have sub-levels with different game mode? If i can’t, i’ll go with Open Level but in that case there isn’t a way to make a real loading screen is it? Also great video btw, it helps me understand the concept for future projects.
@SG-po4rd
@SG-po4rd 2 года назад
Nvm there was comments bellow i was blind
@izzyharvin
@izzyharvin Год назад
In order to use this for multiple levels do I have to make use the same code in the "open level blueprint" for each level or do I add however many levels I have in SmoothLoadLevel binding? Thank you.
@vitorgarciaalencar8030
@vitorgarciaalencar8030 4 года назад
This is a really good tutorial but when it loads my project level my character pops up falling (like ir has no floor), this problem doesn't happens when i play direct from my project level. ps: sorry for potato english. I've tried to use discord but it seems that we didn't share the same server.
@ReidsChannel
@ReidsChannel 4 года назад
Hey thanks :) I accepted your friend request on discord.To answer your question, make sure you have a player start actor in your sublevel setup to auto posses player 1. Also make sure you dont have a default pawn set in your project settings. Having a default set will cause one to spawn when you dont want one to.
@ReidsChannel
@ReidsChannel 4 года назад
Temporary Account drag your character into the world and in the details panel for him set him to auto posses player 0. Delete the player start.
@marksmaan2.010
@marksmaan2.010 Год назад
my level load after the fade out animation, i don't know why...
@michaelysmaelfernandez4444
@michaelysmaelfernandez4444 3 года назад
Thank you so much for this tutorial..it works actually but everytime I start the game with main menu after loading it will return in main menu, not proceeding to the next level.. I print the name variable in Smooth load level(binding) events but I think there's something wrong with level streaming. please help
@FaizanGames
@FaizanGames 3 года назад
it didn't spawn the player when its loaded in level persistent
@kashifraza6516
@kashifraza6516 3 года назад
Hey everyone. I have a question related to Oculus, If anyone can pls answer. I have unreal scene with a loading screen widget on screen but in vr the text widget Is showing on half screen and is offsided. Is there any solution so the widget covers the full screen on vr?
@LoneWolf6063
@LoneWolf6063 3 года назад
My initial level loads up but when i use the trigger box it cuts to black and then does nothing
@praveenr1990
@praveenr1990 3 года назад
Why not load and unload levels using the Game Instance Blueprint itself instead of dispatching to the persistent level.???? Doesn't it provide the same result
@Simon-pi9qx
@Simon-pi9qx 3 года назад
Hello, thanks for this tutorial. I have a question in terms of performance. Having a "persistent level" and then sub-levels is not too demanding in terms of performance? If I understand well everything is loaded at the "Persistent Level" level?
@ReidsChannel
@ReidsChannel 3 года назад
Depends on the size of your levels. But general speaking no it shouldbnt be aproblem
@vertexdesign2809
@vertexdesign2809 2 года назад
So I followed this, created persistant level, opened it and deleted everything inside as instructed, and it deleted everything from the other level!!! I just lost a weeks work!
@runsbuns3675
@runsbuns3675 3 года назад
@27:54 my fade in function didnt have the event pin on it guna re do this video from the start hope my problem is fixed on the next time around
@Warmaster2143
@Warmaster2143 4 года назад
Could you maybe make a loading screen tutorial for Multiplayer
@ReidsChannel
@ReidsChannel 4 года назад
Hey perhaps. That's a lot of work though and would require c++. I'm not sure a lot of people would be able to follow it
@Warmaster2143
@Warmaster2143 4 года назад
@@ReidsChannel hehe maybe
@ryangregg1916
@ryangregg1916 3 года назад
i've followed ou code pretty much bang on and checked it however after the fade in is finished it's not then calling the custom event to start fading things out after fade in has finished ??
@rowcezarbrazil
@rowcezarbrazil 4 года назад
how to ensure the level will be completely loaded in order to finish the loading screen?
@phildavis42
@phildavis42 3 года назад
All I get is a black screen and the throbber widget in the corner"
@Leonardorth.
@Leonardorth. 4 месяца назад
Same here, the widget for the loading screen is added to the viewport but no loading occurs and my level never loads in / loading screen doesn't fade out.
@OldXtranter
@OldXtranter 3 года назад
I did every thing in the video but i dont have fade finished in 28:04 why?😦
@wolfboos
@wolfboos 2 года назад
So I've got a strange problem that I'm trying to solve... Basically when I unload the "Persistent Level" to then load the level that I want to play... it works fine. But then when I try to simply unload the level that I'm currently in, I can't... Rather... When I manually destroy the "Player State or Controller" from the world outline, only then can unloading finish, and the next level load begins. But of course, destroying the player controller only causes other problems, and it shouldn't be a solution. Do you perhaps think you've got an idea on why this happens?
@wolfboos
@wolfboos 2 года назад
Hey so, for anyone that may have had the same problem... I realized why this is happening. I gotta say it was so very stupid, but I guess it kinda makes sense. So basically my setup is that I've connected the commands to load or unload to a "PAUSE" menu. and so.. the game itself was "PAUSED". So although I can see that all actors except the ones from the persistent level are removed, once it's done it will appear as if it's "Stuck". But in reality it's not executing the next node because the whole game is "PAUSED". So uuuuh, I just unpaused the game before unloading the current level, and it worked.
@igrayu_v_roblox
@igrayu_v_roblox 2 года назад
How to make a progress bar?
@adiazpolo
@adiazpolo 4 года назад
The loading screen doesn't pop up for me but it does load the level
@Video-by6lp
@Video-by6lp 3 года назад
Hi !!! Thanks for this tutorial. He's very helpful. There is a question. How do I change (GameMode) for each map? Because (GameMode) doesn't change when calling (Streaming Level)
@ReidsChannel
@ReidsChannel 3 года назад
You cant change game modes unless you change persistent levels which is not happening in the tutorial since we're only ever streaming in and out sub levels
@Video-by6lp
@Video-by6lp 3 года назад
@@ReidsChannel Thank you !
@AOSteve
@AOSteve 4 года назад
Tried this tutorial out. The loading screen itself appears when I run the persisent level and looks fine, however the level I'm trying to load to doesn't show up and I'm just left with an endless loading screen. The weird thing is I can still hear the level I'm trying to load in the background while the loading screen is going. I followed every step along the way, really unsure what the issue is, could be something changed around when the engine updated. hmmm (yes I am a bit new to this lol)
@ReidsChannel
@ReidsChannel 4 года назад
Hey! Would you like to add me on discord so I can help you out easier? It's a bit hard for me to debug what's going wrong through youtube comments haha. If so feel free to add me. My discord name is: blindopoly#1003
@ReidsChannel
@ReidsChannel 4 года назад
Someone else was having this same problem and there issue was that they were creating the loading screen widget with the ConstructObject node and not the CreateWidget node. If anyone else is having this problem make sure you use CreateWidget and not ConstructObject. The video tutorial is doing it correctly, but it might still be easy to mess up.
@jhachirag7
@jhachirag7 2 года назад
My Ai is stoped moving after this any fix?
@juanadamuzlopez6995
@juanadamuzlopez6995 4 года назад
Hi! I have a problem in last version . I get "Cannot use the editor function "FadeOut" in this runtime Blueprint. Only for use in Editor Utility Blueprints and Blutilities." With both fadeIn and FadeOut functions in level blueprint :(
@ReidsChannel
@ReidsChannel 4 года назад
Hmm I'm not sure what that means. I'd try restarting unreal and recompiling the blueprints. If that doesn't work you can add me on discord and I'll take a look. Discord: blindopoly#1003
@ArcadeForeverMF
@ArcadeForeverMF 3 года назад
i converted my project to UE4.26 everything works fine in the editor ! but in standalone game UE4 crash after the loading screen for test i tryed to launch only my level in standalone mode he work fine, but when i launch my game in standalone mode from the persistent level he crash after the loading screen...
@ArcadeForeverMF
@ArcadeForeverMF 3 года назад
Finally all is working, thanks alot for this !
@runsbuns3675
@runsbuns3675 3 года назад
works now how can i have this stop all sound from transitioning over having sound loop bugs when transitioning when a sound is triggered before transition
@ReidsChannel
@ReidsChannel 3 года назад
when u unload a level it should stop all the sounds that were in it
@runsbuns3675
@runsbuns3675 3 года назад
@@ReidsChannel weird bc it didnt haha
@ReidsChannel
@ReidsChannel 3 года назад
@@runsbuns3675 is the sound part of the sublevel or the persistent level? it needs to be part of the sublevel
@runsbuns3675
@runsbuns3675 3 года назад
@@ReidsChannel the sound is getting spawned from a actor in the sublevelim transitioning from
@earthbornjim9975
@earthbornjim9975 4 года назад
Hi Reid. I'm hoping you can give me some direction here. So let's say I have an open world game and I have a dynamic day/night system which also controls my time, weather etc (which is a BP I place in my level). Now let's say I have sub levels inside the open world which are interiors of buildings. For the Dynamic Day/Night system to work correctly, would I need to place that into the Persistent Level (Empty Level like your case) and have my Open World and Interiors as Streaming Levels? I'm asking, because I need to be able to access the Day/Night system from any level. Or would you save the state of the Dynamic System and include it in each streaming level I need it and load it's state when the level loads? And lastly, would my Main Menu and perhaps End Credits screen and any other splash screens at the beginning be their own Streaming Level? I'm just trying to figure out what the usual way of doing the above is. Thanks.
@ReidsChannel
@ReidsChannel 4 года назад
The former. Have the BP in the persistent level.
@ReidsChannel
@ReidsChannel 4 года назад
For the main menu. It should be it's own level, yes, but not a streaming level. It should just be its own separate level.
@earthbornjim9975
@earthbornjim9975 4 года назад
@@ReidsChannel Thanks for the info. You've given me better direction on how to handle things.
@markusflin
@markusflin 4 года назад
Hi, Thanks for the tutorial , works perfectly but I had on my UI a level select using the option String and now with stream level I don't know how to set the option string on the game mode, thanks
@ReidsChannel
@ReidsChannel 4 года назад
Hey thanks. What do you mean by "Option String"? Like typing in the level you want to load?
@markusflin
@markusflin 4 года назад
@@ReidsChannel On the open level node there is a string call Options( Where me i selected the level ( easy,...) and set some settings of the game) and with load stream level I don't have this..
@ReidsChannel
@ReidsChannel 4 года назад
@@markusflin I'm still not understanding your question. Can you try rephrasing it?
@markusflin
@markusflin 4 года назад
@@ReidsChannel Sorry.. I set your loading screen on my menu. Inside my menu i can chosse the level of difficulty (easy, medium, hard) before to set the loading screen i was using the node open level and inside this node there is a pin call options (that I use for set the level difficulty) but in you tutorial u use load stream level and there is not this Pin call options.
@ReidsChannel
@ReidsChannel 4 года назад
@@markusflin Ah, okay I think I understand. LoadStreamLevel doesn't have this pin because you're not actually opening a new level, you're technically loading in ANOTHER level to your currently existing, persistent level. But to answer your question, you should probably not be setting the level difficulty with the options pin anyways. Instead, you should probably set this value inside the GameInstance. If you've never used a GameInstance before it's essentially just a blueprint that is persistent throughout the entirety of the game. So if you set the level difficult there you could read from it even if you're changing levels. Does that make sense? If not, feel free to message me on discord: blindopoly#1003
@gamingklex9010
@gamingklex9010 4 года назад
That is a great Tutorial! But why do only 161 People watched this Video?
@ReidsChannel
@ReidsChannel 4 года назад
GamingKlex Thank you! The view count is low because I’m very new to RU-vid and don’t have many subscribers. The video has only been up for about a month too
Далее
Unreal Engine - Event Dispatchers Explained!
21:17
Просмотров 19 тыс.
Building the ENDGAME invisible PC
27:30
Просмотров 2,8 млн
Unreal Engine 4 Tutorial - Level Streaming
13:12
Просмотров 62 тыс.