UE5.5 USoundWave RawPCMData is null?

Hi,
I tried to get some information about USoundWave by using SoundWave->RawPCMData and SoundWave->RawPCMDataSize.
It seems like that SoundWave->RawPCMDataSize returned correct value but the RawPCMData is null.

The same code in UE5.4 and previous version returned correct data for both RawPCMData and RawPCMDataSize.

Is it a bug for UE5.5 which renturned the empty RawPCMData, or something has been changed?

Compared UE5.5 with UE5.4, found some differences in SampleBufferIO.cpp DoWork() function:
In UE5.5

In UE5.4

It is clear that in UE5.5, the RawPCMData is set as nullptr. Thus we get only empty PCM data. What’s the purpose about this change in UE5.5? How can we obtain the RawPCMData in UE5.5?

The Question is duplicated with AudioCapture USoundWave has null RawPCMData ? - Development / Programming & Scripting - Epic Developer Community Forums

Close this.

OKay. I found another way to solve this. It is to invoke the lower level api.

You can compare the code between UE5.4 and UE5.5 to know more about the changes.

https://www.fab.com/listings/67a6ae5a-69d1-46a8-b290-fa1815c43557

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.