Every time I open my project it takes a long time to load it. It says it’s discovering assets and compiling shaders, it takes 1 hour total every single time. I think it might be because the world is very big and I have a lot of assets.
Is there a way to cache all the assets so everything can load faster when I open my project? So I can just start working faster instead of waiting for it to load forever.
Thanks in advance.
Hunted73.
I am honestly not sure if this is a good fix for this or not but you could look into level streaming. By doing this you seperate parts of a large map into streaming volumes and then you can turn on and off those sections in the editor. If you save the file with all volumes off the next time you open it perhaps it wont recompile every shader because it isnt loaded in the scene until you turn it on. I honestly just started looking into level streaming on our new project. I watched a Digital Tutors tutorial on it but if you dont have access to pluralsight. here is a you tube video that talks a little about it.
https://www.youtube./watch?v=hemu6rlgzkQ
I forgot to mention it is a open world map, so i dont think i can do level streaming on that, maybe on caves and stuff like that but that wont do much, Thanks anyway.
If you level is huge, first time load on weak machine potentially could take an hour. Even more in fact. However, after asset discovery and shader compile finishes, you should not be getting those on next load. Maybe there is a problem with your DDC.
So how can i know what is the problem?
Are you sure its because loading assets? Did you try it via console or got a console log?
https://docs.unrealengine./latest/INT/GettingStarted/RunningUnrealEngine/#runningtheeditorfromthecommandline
Try what via console?
I tried doing that and it still loads at the same speed
Yeah, but do you see where its taking so long? Like does it print “Performing Map Check” or what is the step taking so long
No it only says “Discovering Asset Data” “Compiling Shaders”
Thanks in advance.
If your shaders a complex it takes a lot of time, thats a fact you can’t change (well you can change your hardware)
Do you use instances in your Level of your assets and shaders or do you always create a new one? Maybe you have to tidy up your Level, but that takes a long time if its a big Level
Sorry i don’t think i udnerstood the question
Level streaming works for open world.
https://docs.unrealengine./latest/INT/Engine/LevelStreaming/WorldBrowser/index.html
Tyvm ill look into that but i still think it’s not the problem
Also make sure you clean up re-directors in your content folder if you ever shuffle a lot of files around, it helped my load times a bit.
I tried today level streaming my open world but i dont understand how do i divide my landscape to parts?, and in the map this is all i see.
i tried it out today i don’t see a big difference but i think it helped abit, thank you very much
i still didn’t find a solution, if anyone can come up with somoething that will be nice