AgoraIO-Extensions / Agora-Unreal-RTC-SDK

MIT License
37 stars 14 forks source link

Issue with iOS #115

Open HereafterMills opened 2 weeks ago

HereafterMills commented 2 weeks ago

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?

HereafterMills commented 2 weeks ago

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.

HereafterMills commented 5 days ago

@WinterPu some help please

WinterPu commented 4 days ago

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.