Packaged build (win64) crashing on load due to metasound, assertion failed

Hello, my project builds successfully as shipped version on windows but then crashes immediately upon opening the .exe file. Error message:

Assertion failed: IsInGameThread() || IsInAudioThread()
[File:D:\build++UE5\Sync\Engine\Plugins\Runtime\Metasound\Source\MetasoundFrontend\Private\MetasoundAssetBase.cpp][Line: 821]

I have been poking around and found this post: Assertion failed isInAudioThread() - #5 by mightyenigma

but i am finding it hard to figure out what my next steps should be. any help would be very much appreciated! Have built the project successfully on another computer, which has since died and have ported the project to a new PC, now rebuilding and getting this issue… thanks

Hi. I had the same problem with UE5.0.3, but I solved it by setting the Packaging Configuration to Shipping!!

The reason for the problem in my project was that I had set the Packaging Configuration to DebugGame or Development.

However, this is a problem because I cannot debug after packaging using DebugGame or Development.

I tried with an empty project and the configuration was not the cause.

There must be some other cause.