Agora-Unreal-RTC-SDK icon indicating copy to clipboard operation
Agora-Unreal-RTC-SDK copied to clipboard

Issue with iOS

Open HereafterApps opened this issue 1 year ago • 3 comments

Hi,

So iv been trying to debug this the last few weeks. On iOS, connecting to voice and talking works great. BUT open any new map, even the menu map, 2-7 seconds later, the app crashes.

None of this happens if i never connect to voice.

Any hints as to what might be causing this?

HereafterApps avatar Apr 29 '24 22:04 HereafterApps

Adding the logs folder in the agora settings to ProjectLogsDir>voice.log also doesnt save any file on ios. When i retrieve the container using xcode, it doesnt show me this logs file. I've tried a whole bunch of folder combinations to no avail. Any help with this would be nice, as it would help us identify the issue.

I think the issue is with leaving the voice channel.

HereafterApps avatar May 01 '24 19:05 HereafterApps

@WinterPu some help please

HereafterApps avatar May 13 '24 07:05 HereafterApps

You could build an iOS app and select [Debug - Attach to the Process] to trace the logs. I suspect that you may be triggering a garbage collection or neglecting to perform certain operations on the game's main thread. However, I'm not sure. You could give it a try.

WinterPu avatar May 14 '24 08:05 WinterPu