ProjectAcoustics icon indicating copy to clipboard operation
ProjectAcoustics copied to clipboard

Parameter compute failed for all probes

Open VadNz opened this issue 2 years ago • 8 comments

Hello, I've been testing PO with ue5/wwise and got an error 2022-10-19 13_30_06-BigOffice - Unreal Editor

The sound is still playing but is not considering the acoustics. And the debug line pins to the listener position and doesn't move.

It happens when I get inside of the one room, it has voxels and probes. Other rooms work okay though. How I can fix this? Maybe there's something I did wrong?

Thanks, Vadim

VadNz avatar Oct 19 '22 10:10 VadNz

Hi @VadNz - Thanks for sharing the debug viz. Where is the sound source in this? Is it at the player, or near the walls perhaps?

nikunjragh avatar Oct 19 '22 17:10 nikunjragh

The sound source is on the actor that is in another room. I hope this video will help you understand more

https://user-images.githubusercontent.com/109353588/196943730-81d014f1-1526-45e2-a95f-82109ae0ce95.mp4

VadNz avatar Oct 20 '22 12:10 VadNz

Thanks for the video, that helps a lot. @MikeChemi might have more insight depending on which precise internal build this corresponds to. In the meantime, try nudging the source a bit further away from local clutter; I am suspecting that one of the emitter samples is below the coffee table for some of the probes.

nikunjragh avatar Oct 20 '22 16:10 nikunjragh

Can you also show the debug voxels? I'm wondering if the doorway got sealed up during baking and the sounds in the other room become "unreachable."

MikeChemi avatar Oct 20 '22 17:10 MikeChemi

I've put the sound source inside the room and it worked okay, but the main hall now gets the same problem

I think the problem appears because there's no probe in this particular area image

As I can guess, debug voxels shows that the door is open image

So I'm assuming rebaking the scene with more probes in this area could solve the problem?

VadNz avatar Oct 21 '22 07:10 VadNz

Puzzling. I don't think this is a problem with too-few probes, I'm more suspecting a problem with the probes inside that room. Can you share the settings from the probes tab that you baked with? Did you update anything in the advanced section?

MikeChemi avatar Oct 21 '22 16:10 MikeChemi

I didn't update anything in the probes section, everything is set to defaults image

VadNz avatar Oct 24 '22 09:10 VadNz

Thanks for this information. I'm pretty sure I know what's going on. To test my theory, please put the player inside the room that causes the errors, and move the sound source to all sort of places in the other room that it is currently in. I suspect that you'll see errors for all the places you put the sound source, not just the one location that it is now.

Another test. Outside of PIE, go through the acoustics edit mode again and re-calculate probes. Look at the voxels that get displayed as part of the probe layout. These will be much fatter than the ones you see in PIE. My guess is that these voxels will completely block out the doorway.

The reason for the voxel size differences between probe calculation and runtime is that the runtime uses finer-grained voxels to help with parameter interpolation. So what you see in PIE is not what was used during the bake process. What you see after the probe calculation is what is used during baking. The doorway being completely closed off here would prevent the bake from connecting the two rooms, so sources/listeners that are on opposite sides of that doorway would cause the failures you're seeing.

MikeChemi avatar Oct 24 '22 17:10 MikeChemi