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

Crashing when playing and build

Open Shumaro211 opened this issue 2 years ago • 5 comments

I commented this in another Issue.

I just compiled the 5.0.3 version from source (but I also tried with the marketplace version) and downloaded the latest files, and the engine is crashin every time I press any of the buttons of the multiple features, when the App id is valid, I did not put a token, not sure if it might be a problem.

image All I get is this for the ScreenShareWhileVideoCall is this line: RtcEngineProxy->stopScreenCapture(); But I get it even from the device manager class

Shumaro211 avatar Sep 07 '23 01:09 Shumaro211

You can attach the log file to provide more details. Additionally, you can simply use the marketplace version, as it does not require a source build engine version.

WinterPu avatar Sep 08 '23 02:09 WinterPu

I can't use the marketplace version because I need to compile a server build, but tried with both. This is the log: AgoraExample.log

So is crashing in your example project and my own project, after I updated the code. But well thanks in advance!

Shumaro211 avatar Sep 08 '23 02:09 Shumaro211

Did you call InitAgoraEngine before joining the channel (OnBtnJoinChannelClicked)?

WinterPu avatar Sep 11 '23 10:09 WinterPu

Hello, yes, when you trigger a collider I set a widget component to create a BP_VideoWidget and I exposed the init to blueprints, and then I call the OnJoinButtonClick, which is the old version of your code. I added that delay just in case that can help. image

Shumaro211 avatar Sep 25 '23 17:09 Shumaro211

  1. Could you share what you do in InitAgoraWidget & OnJoinButtonClick ?
  2. Also In Initialize or InitializeEx, it would return the result code. You could check if it returns 0. image

WinterPu avatar Oct 12 '23 06:10 WinterPu