We’re trying to implement sounds in the Duealsene controller, and I’ve routed some events to a return bus inside a port that’s set to the “Controller Speaker” type.
But when testing in the Unity editor I cannot hear the sounds from the DualSense speaker, they’re just coming from my studio monitors.
Is it possible to test that functionality in the Unity editor at all? Or should we create a build? Would it work with a PC build or only a PS5 build since I’m using the Dualsense?
The behavior you’re seeing in the Unity Editor is expected. The Controller Speaker port type is currently supported on PS4 and PS5, so it cannot be used to audition the DualSense controller speaker from the Unity Editor.
To audition the audio through the DualSense speaker, you’ll need to run the game on a PS5. A PC build won’t test the Controller Speaker port routing either.
When testing on PS5, you’ll also need to set the Controller Speaker port index to the appropriate PS5 user ID. Our Unity Ports example demonstrates how to set this up.
Once you have a PS5 build running, you can enable Live Update for faster iteration while auditioning the sounds.