Niagara Crash when using sg.EffectQuailty

Hello.For some reasons,I need call function FNiagaraSystemInstanceController::SetVariable( ) every tick.just to control spaw rate or something.But when used sg.EffectQuailty,engine will crash shortly,

Fatal error!

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff

0x00007ff6eb99902a Project-Win64-Test.exe!FNiagaraSystemInstanceController::SetVariable() [D:\rep\MO-Engine\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraSystemInstanceController.cpp:365]
0x00007ff6eb737795 Project-Win64-Test.exe!UNiagaraComponent::SetVariableInt() [D:\rep\Engine\Engine\Plugins\FX\Niagara\Source\Niagara\Private\NiagaraComponent.cpp:2683]