How to solve error "no conversion from ‘nullptr’ to FAudioDeviceHandle"?

Hi,

GEngine::GetMainAudioDevice() returns a FAudioDeviceHandle struct, not a FAudioDevice pointer. You should be able to access the underlying FAudioDevice* with FAudioDeviceHandle::GetAudioDevice()

Keep in mind that some engine resources may not be available on Dedicated Servers, Audio Devices among them. This post may be able to help you if this is the case.

1 Like