menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

+1 투표
Hi !

UE: 5.3.2

Wwise: V2023.1.0.8365

Just to warn people. We updated Wwise to V2023.1.0.8365 and we have a crash inside AkComponent.cpp. This variable:

/** Room the AkComponent is currently in. nullptr if none */
class UAkRoomComponent* CurrentRoom;

Is garbage collected while the component may still be ticking, resulting in a crash when calling GetSpatialAudioRoom with a dangling ptr later here:

if (AkAudioDevice)
{
    AkAudioDevice->GetObsOccServicePortalMap(GetSpatialAudioRoom(), GetWorld(), ObsOccPortalMap);
}

Using a TWeakObjectPtr (+ some minor changes for compilation) like this:

TWeakObjectPtr<class UAkRoomComponent> CurrentRoom;

Fix the issue.

Have a nice day.

Vincent.
General Discussion Vincent P. (110 포인트) 로 부터

Please sign-in or register to answer this question.

...