-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with iOS #115
Comments
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. |
@WinterPu some help please |
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 I had managed to fix this in another app, but getting the smae issue in a new app. THe issue previously was that i was setting the outer for the RTCEngine and EventHandler as the player controller - which of course is destroyed once we start a new map. Now im setting the outer as the game instance, but crash still occurs. |
@WinterPu These are the last logs generated before the crash:
Like i said, this occurs on starting any new map (connecting to a channel the second time - whether its the same channel or a different one). Heres another one from another session:
I suspect the AudioMixerPlatformInterface Timeout [ 5 Seconds] waiting for h/w. InstanceID=1 is what is causing the crash, but it always happens within 15 seconds and the timeout is 5 seconds, with the warning coming in 3 times. At times, it happens before 15 seconds as well In the first map, the voice works fine btw.
|
You could try sth like this: AgoraUERtcEngine::Get()->setAudioScenario(agora::rtc::AUDIO_SCENARIO_TYPE::AUDIO_SCENARIO_GAME_STREAMING); Or wait for the 4.5.0 https://github.com/AgoraIO-Extensions/Agora-Unreal-RTC-SDK/tree/release/4.5.0 |
Also, should i just Use 4.5.0 now? |
Yeah, we are still testing it. It is coming soon. |
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?
The text was updated successfully, but these errors were encountered: