Hello I currently have a nasty problem in UE5,
I wanted to try our project in UE5 and shifted our codebase to it. I have Visual Studio 2019 installed and everything compiles without any problems. I also have the latest FMOD Studio + plugin installed and the plugin is enabled. The plugin files live in the Project/Plugins folder as the Engine/Plugins folder doesnt work with compiling FMOD stuff in your project (FMOD states its an UE problem). I built all banks from FMOD to the project and FMOD also auto configured the project settings. There are no further assets in the whole project and the project still starts in to the default level.
The problem: After UE5 started the editor is not usable anymore after 1-2 clicks. The whole computer lags and the Windows task manager doesn’t display high CPU, GPU or Ram usage. When clicking a different application the pc is continuing to work after 1-2 minutes. When giving UE5 focus again the computer freezes.
UE5 is neither compiling any shaders nor does it generate distance field meshes. Its sitting idle. Ray tracing is disabled for the project, I also tried disabling Lumen and generate distance field meshes. I also tried disabling Live Coding for the project. I also deleted .vs, Saved, Intermediate, DerivedDataCache and Binary folders regularly.
Observations: the problem arose after a while when some classes were added. Like a certain amount of classes. There are currently around 100 files (h + cpp).
Hey there @apfelbaum! This sounds like a rough issue. I was actually coming to recommend disabling Live Coding and the caches but you were already on it. It looks like we’re going to have to track down the culprit(s) in those files. Were there any crashes or general log anomalies? Or just the extremely heavy usage → freezing but not crashing?
Hey, there was no crash and everything compiles fine. The logs don’t contain any errors. I now managed to get the editor running again.
I cannot say exactly what it was but I disabled a lot of plugins and especially graphic features that UE5 offers and UE4 not.
I the following files you can see my project settings and my disabled plugins. Maybe this helps you.
Edit: My computer still freezes for around 2 minutes after the project starts with UE5 still “idling” but after this time window I can continue to work. This is still strange.
No crashes makes it a good bit harder to determine where the hitch is. Could you take a look at the console log before, during, and after it happened and see which events (if they output at all) are hanging?
If it’s purely graphical, the first trick I’m gonna recommend is swapping your RHI down the DX11 and see if it occurs at all. If it doesn’t then we will have a couple of options to look through.
Do you use any GPU direct software like MSI afterburner, Rivatuner, Nvidia Shadowplay/control, etc? This includes overlays.
Thank you for your help. I have no single clue but why but today it seems to work (It didn’t for 6 days so it was not a simple “restart your computer” :D). I disabled just a few more plugins when i had UE5 opened the last time and now its quick again. DX12 is still enabled.
I will come back in case it doesn’t work anymore. In the meantime, here is my log of a normal start without unusual hitches and lags.
No problem, if you come across it again, gather as much data as you can and post over here. This perfect startup is good data. Though now we don’t know which plugin was offending, we can at least continue the project