NiagaraAudioSpectrum crash when launching package project

Issue: UE-152571

Successfully ran a live audio (mic input) visualisation with Niagara particles in the editor. But after packaging it crashes with the following error:

Assertion failed: IsInGameThread() [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\AudioThread.cpp] [Line: 663]

Seems to be a known issue, but just wondering if anyone has a workaround for the time being?

Any help appreciated.

Hi!

I solved this problem by removing a “Set Scalability Quality to Low” node I had on BeginPlay at the level blueprint.

I hope it helps.

Thanks Monz!
I’ll try it out! Hopefully 5.1 is out soon too😅
Cheers!

1 Like

I haven’t touched this setting? Can you confirm that the same exact crash as OP is introduced and removed by adding/removing the “Set Scalability Quality to low” node?
As far as I understand it, this crash will happen regardless of touching this node if you use the NiagaraAudioSpectrum.

Its currently flagged for 5.2 in the UE bug tracker.
Upvote at Unreal Engine Issues and Bug Tracker (UE-152571)

Sorry for the late response! Yes removing the scalability node at BeginPlay immediately fixed it for me.

Looks like 5.3 fix

Component UE - Audio - Submixes
Affects Versions 5.0.1, 5.0.2
Target Fix 5.3
Fix Commit 25392818
Main Commit 25392818
Created May 16, 2022
Resolved May 9, 2023
Updated May 25, 2023

Unreal Engine Issues and Bug Tracker (UE-152571)