Description

If you are using a large amount of Niagara, you will experience excessive load times in PIE even if nothing is changed.

The following code change seems to be effective as an interim response.

void FNiagaraSystemViewModel::Initialize(UNiagaraSystem& InSystem, FNiagaraSystemViewModelOptions InOptions)
{
System = &InSystem;
// System->bCompileForEdit = true;

 

 

Steps to Reproduce

1) Create a new project
2) Create an Empty level and save it as NewMap
3) Create a new NiagaraSystem from any of the sample templates.
4) Place one in the level in NewMap.
5) Right-click under Game/Content and under Plugins/Niagara content in the Asset Browser tree to ResaveAll, respectively.
6) Quit the editor once.
7)Restart the editor.
8)Load NewMap at this point, as there should be no level loaded.
9) "LogNiagara: Compiling System NiagaraSystem~~~" is not yet output in the log window.
10) Double-click the NiagaraSystem you just created in the Asset Browser to edit it.
11)Compile with ForceCompile and save.
12)Perform steps 6, 7, and 8.
13)Log "LogNiagara: Compiling System NiagaraSystem~~~" is output in the log window.
14)Confirm that the corresponding log is output repeatedly after repeating steps 6, 7, and 8.
15)Perform steps 6 and 7.
16)ResaveAll under Game/Content in the asset browser tree.
17)Perform steps 6, 7 and 8.
18)Confirm that no logs are output in the log window.

Expected Behavior :
No "LogNiagara: Compiling System NiagaraSystem~~~" in any case

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-153263 in the post.

11
Login to Vote

Fixed
ComponentUE - Niagara
Affects Versions5.0.1
Target Fix5.1
Fix Commit22216766
Main Commit22231417
Release Commit22216766
CreatedMay 20, 2022
ResolvedSep 28, 2022
UpdatedOct 21, 2022
View Jira Issue