frostic
(frostic)
2493
here is a change i had to make today as DefaultUSoundwave
else {
Success = false;
return nullptr;
}
// - Baking PCM Data from file into SoundWave memory
const int32 NumSamples = sw->RawPCMDataSize / sizeof(Audio::FResamplerResults);
sw->RawPCMData = (uint8*)FMemory::Malloc(sw->RawPCMDataSize);
FMemory::Memcpy(sw->RawPCMData, WaveInfo.SampleDataStart, NumSamples * sizeof(Audio::FResamplerResults));
if (!sw) { Success = false; return nullptr; }
Success = true;
return sw;
}
It seems that DefaultUSoundWaveSampleType is no longer in 4.24.3 and returns a null reference and crashes. the above change fixes .