microsoft / ProjectAcoustics

Microsoft Project Acoustics
https://aka.ms/acoustics
Creative Commons Attribution 4.0 International
133 stars 21 forks source link

Warning: Unexpected number of output objects! PA Spatializer Outputting Silence #143

Open dr0p1n opened 1 year ago

dr0p1n commented 1 year ago

Hey!

I am now working with the Wwise 2022.1 version in the Unreal Engine 5.0.3 version.

So far I had some good times exploring acoustical effects, but lately there are some issues coming up and stacking.

First one is: "LogWwiseMonitor: Warning: Voice Starvation LogWwiseMonitor: Warning: Unexpected number of output objects! PA Spatializer Outputting Silence (Plugin: 332083 Shareset: 217707095) Name: 2010897267" -> I don't really use many assets, some footsteps, no ambience, no emitters. Very suprised there is an stack overflow.

Second one is: "LogAkAudio: Warning: FAkAudioDevice::GetShortID : Returning invalid ShortId for Wwise Object named ." -> this one stacked up to more than 30000 times within a few minutes just walking around.

I was looking up my whole setup, disconnecting every single sound source from my blueprints to find which Object named " " it is, but no luck. Last step was to rebuild soundbanks and disable the Project Acoustics Spatializer from its bus. Though I still get error number one, but I it's the Project Acoustics Spatial Reverb plug in.

Allow 3D Audio is deactivated in Wwise (though it does not really make a change in output errors. The ProjectAcoustics bus receiving signals is set to Audio Objects. SpatialReverb is set to AudioObjects as well. Overall the setup is like in your doc.

Hope you have any idea what I am doing wrong!

Cheers!

dr0p1n commented 1 year ago

Unreal_OutputLog_01032022.txt

dr0p1n commented 1 year ago

image

MikeChemi commented 1 year ago

"Though I still get error number one, but I it's the Project Acoustics Spatial Reverb plug in."

Ah yes, we have a bug in the logging system. The logging always refers to Project Acoustics Spatializer, regardless of if you are using the reverb or the spatializer. Sorry about that.

You can ignore the warning voice starvation error. That's benign.

Is the aux bus with the spatial reverb plugin on it set to output audio objects?

dr0p1n commented 1 year ago

Alright, I thought so too, but my problem is bigger than the logging system, mostly regarding the messages I posted.

And yes, it is set to Audio Objects!

But most of the time I don't get an audio signal through it, regardless to what I configuration it's set. At least on runtime, not sure if I need to rebuild soundbanks every single time I change output configuration.

It does work with Audio Objects on a side project I did for testing at least.

Furthermore I would be interested if only early reflections are handled through the Spatial Reverb, or is that one for early and late reflections, too? Or will early reflections be audible without the Spatial Reverb at all?

HDalsfelt commented 3 months ago

Did anyone find out what caused this problem? We've got this issue on one specific level.

HDalsfelt commented 3 months ago

Nevermind, found out that the rtpc-metadata was missing on an actor-mixer