Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes

Hello,
I noticed that Wwise 2023.4 IO on causes Unreal engine 5.2 to spam errors about alignment issues.

LogTemp: FMicrosoftReadRequest request was not aligned. This is expected with loose files, but not a pak file.

A example callstack when the warning occurs:

>    Game.exe!FMicrosoftReadRequest::FMicrosoftReadRequest(FMicrosoftAsyncReadFileHandle * InOwner, TFunction<void __cdecl(bool,IAsyncReadRequest *)> * CompleteCallback, unsigned char * InUserSuppliedMemory, __int64 InOffset, __int64 InBytesToRead, __int64 InFileSize, void * InHandle, EAsyncIOPriorityAndFlags InPriorityAndFlags) Line 107    C++
     Game.exe!FMicrosoftAsyncReadFileHandle::ReadRequest(__int64 Offset, __int64 BytesToRead, EAsyncIOPriorityAndFlags PriorityAndFlags, TFunction<void __cdecl(bool,IAsyncReadRequest *)> * CompleteCallback, unsigned char * UserSuppliedMemory) Line 454    C++
     Game.exe!FWwiseFileCacheHandle::ReadData(unsigned char * OutBuffer, __int64 Offset, __int64 BytesToRead, EAsyncIOPriorityAndFlags Priority, TUniqueFunction<void __cdecl(bool)> && OnDone) Line 303    C++
     [Inline Frame] Game.exe!FWwiseFileCacheHandle::ReadAkData(unsigned char * BytesToRead, __int64 AkPriority, __int64) Line 341    C++
     Game.exe!FWwiseFileCacheHandle::ReadAkData(const AkIoHeuristics & Heuristics, AkAsyncIOTransferInfo & TransferInfo, TUniqueFunction<void __cdecl(AkAsyncIOTransferInfo *,enum AKRESULT)> && Callback) Line 347    C++
     Game.exe!FWwiseStreamedMediaFileState::ProcessRead(AkFileDesc & InFileDesc, const AkIoHeuristics & InHeuristics, AkAsyncIOTransferInfo & OutTransferInfo, TUniqueFunction<void __cdecl(AkAsyncIOTransferInfo *,enum AKRESULT)> && InFileOpDoneCallback) Line 379    C++
     Game.exe!FWwiseIOHookImpl::Read(AkFileDesc & in_fileDesc, const AkIoHeuristics & in_heuristics, AkAsyncIOTransferInfo & io_transferInfo) Line 192    C++
     [Inline Frame] Game.exe!FWwiseIOHookImpl::BatchRead::__l2::<lambda>() Line 238    C++
     [Inline Frame] Game.exe!Invoke(FWwiseIOHookImpl::BatchRead::__l2::void <lambda>(void) &) Line 47    C++
     Game.exe!UE::Core::Private::Function::TFunctionRefCaller<`FWwiseIOHookImpl::BatchRead'::`2'::void <lambda>(void),void __cdecl(void)>::Call(void * Obj) Line 474    C++
     [Inline Frame] Game.exe!UE::Core::Private::Function::TFunctionRefBase<UE::Core::Private::Function::TFunctionStorage<1>,void __cdecl(void)>::operator()() Line 600    C++
     Game.exe!FWwiseExecutionQueue::ProcessWork() Line 316    C++
     [Inline Frame] Game.exe!FWwiseExecutionQueue::Work() Line 243    C++
     [Inline Frame] Game.exe!FWwiseExecutionQueue::StartWorkerIfNeeded::__l32::<lambda>() Line 224    C++
     [Inline Frame] Game.exe!Invoke(FWwiseExecutionQueue::StartWorkerIfNeeded::__l32::void <lambda>(void) &) Line 47    C++
...

It's on a Microsoft platform with IoStore enabled on a Test Package.
Are there any known issue with Wwise 2023.x and read alignment?

Thanks

in General Discussion by Eric M. (110 points)

Please sign-in or register to answer this question.

...