UE 5.6 Niagara Crash on Startup

I recently migrated my game from 5.3 to 5.6 and now I’m wanting to use the Niagara System. I’ve briefly used it before and when placing a NS into the world it works fine but when I attempt to open it and edit it the system crashes and gives this report. I’m not sure what to do to fix the issue any help would be appreciated

LoginId:942b030247e354e5bd4c00b170b7eae3
EpicAccountId:773b82d87b9045c4916fb2afe4adab2d

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\PipelineStateCache.cpp] [Line: 533]
Shader compilation failures are Fatal.

UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

Hello there @GM_Dre!

Considering your log, seems you are encountering a shader conflict. And since you just migrated, it could be related to corrupt or missing data tied to the shader cache, or an engine issue. Please try the following:

  • First, clear your project’s cache, via closing UE, deleting folders DerivedDataCache, Intermediate, and Saved from your main directory, then re-open UE, and allow it to rebuild/recompile

  • Next, update your drivers. The best option is to perform a clean install, and choosing “Developer” drivers for the new setup, since those are most stable for engine work.

  • Finally, check your UE build in the Epic Launcher, check the drop-down menu, anc click “Verify”, which should fix any missing or corrupted components.

If everything fails, please test creating a new Niagara system in your project, and see if the crash also appears there. If this is not the case, then your original system could be corrupted, and need to be rebuilt.

1 Like

Unfortunately, after trying all of these steps, the engine still crashes when attempting to open any Niagara asset.

They appear to function just fine, but I’m not able to edit them.
I’m linking a short video to showcase the bug; maybe that will be helpful.

Also since I still have the previous version, I should say that I can open Niagara assets in that version or the project, so this seems to be related to the migration.

Hello again!

Interesting, since Niagara opens with no issues in your original version of the project, then this issue must be tied to the migration process, either corrupted/missing assets in your project, or a conflict with the engine itself.

In order to isolate the issue’s origin, open a new, clean 5.6 project, enable Niagara for it, then create a system, and try to open it. If this works, then the problem is tied to your migrated project. If the crash happens again, it’s the engine install. Let’s cover solutions for both paths:

Migrated project issue:

  • Reset the Niagara editor’s configuration

    • Close UE, go to your project’s “Config” folder, and delete any NiagaraEditor*.ini files
    • Then, check under “Saved/Config/WindowsEditor” for any Niagara-related settings
    • Re-open UE, so it can re-create the default values
  • Re-enable Niagara editor modules

    • Open the Plugins panel and make sure Niagara Editor is enabled
    • Disable it, restart, then re-enable it, forcing UE to reload the module
  • Force rebuild of Niagara shaders

    • Open the console, and input “RecompileShaders Changed”, which will rebuild your modified shaders including Niagara
    • If the issue persists, try going for “RecompileShaders All”, which will rebuild ALL shaders (this will take some time)

UE install issue:

  • First, backup your project, uninstall the engine, launcher, any added asset packs, etc
  • Next, open the registry directory HKEY_CURRENT_USER\Software\Epic Games\Unreal Engine\Builds, and delete any build entries
  • Finally, delete the folders %userprofile%\AppData\Local\UnrealEngine and %userprofile%\AppData\Local\UnrealHeaderTool
  • After that, no elements related to UE should be left in your system
  • Now, reinstall UE launcher from scratch, and only add the latest version of the engine
  • After the process is complete, test the Niagara systems again
1 Like

Okay let’s walk down the list.

First, when working in a new UE5.6 project, Niagara opens and functions fine.

Next I deleted the Niagara.ini from the saved/config folder of my project, repoened the project but it still crashed.

I opened it again and tried the “RecompileShaders All” prompt, only took about 15 minuets but when openening any niagara asset it still crashes.

Thank you for the follow up!

Now we know that the issue is isolated to your migrated project. Recompiling did not help, and even new Niagara systems crash the engine, so it’s not tied to specific elements in the map, as well. So, the next step here is to find the issue’s origin inside the project:

  • First, I know we already did this step (cache clear), but let’s repeat it for the process. Please close UE and delete the following folders from your project directory:

Binaries
DerivedDataCache
Intermediate
Saved

Then re-open the project, so the engine can rebuild the cache

  • Next, go to Edit > Plugins and disable every non-default plugin, especially anything related to particles, rendering, or VFX. After that, restart UE, and create a Niagara system. If that works, then we know it’s a plugin conflict, and just need to re-enable one by one until we find the culprit.

  • If that doesn’t work, the next test is to create an empty level and and open a new Niagara element there. Although your video from the previous post suggest you already tried this, please do so again with the cache cleared and all optional plugins off.

  • At this point, if the crash persists, then we need to go back to your original backup, and do the migration again, as the corruption would be to deep to isolate in your current copy. There are two paths for migration, either using UE’s convertion tool, or migrating only the assets you need to another, blank project. Both options are detailed in the documentation below:

I do not know which method you picked in your migration from the first post, so I would suggest picking the alternative path to the one you used before. If you go for manual migration, please make sure you only pick the Content folder from your backup project, and avoid copying any old configuration files (Config, Plugins, Intermediate, or Saved folders), as that was most likely the origin of the issue in the first place.

Let me know how this goes, and I hope it works!

1 Like

Sadly, after disabling all necessary plugins and re-enabling them, deleting the cache, and opening an empty level. Opening a new Niagara asset still crashes the system.

I’m going to try the migration again as suggested, and I’ll let you know how it goes.

new migration still crashes … idk

I have the same problem. Workaround is switch RHI to vulkan. That should allow you to open the particle system. Once done editing, you can switch back to DX12… or not :slight_smile:
Fingers crossed…

I remember changing that at some point, but I dont remember when.

But that did the trick, it’s working now, thank you very much

Lastly, I do have to change it back when I want to play-test, as leaving it on Vulcan causes it to crash on ‘Begin Play’. Odd bug, but this workaround is helpful.

I have now the same issue, empty project, but with lots of plugins enabled, empty NS crashes engine when opening.

Same here - definite bug in EU5.6 DX12 with Niagra