-
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
Crash in-editor #129
Comments
Did you release the instance correctly? |
+1 same issue |
Did you use C++ or Blueprints? Which version of Unreal Engine did you use? Could you show me the call stack? |
I am certain that this crash is occuring because of the game instance storing the RTCEngine instance. I remember i had this issue before when i was parenting it to the player controller by mistake. Same sort of issue, but on a packaged build. RTCEngine does not like to be initialized more than once per start. So in the editor its being initialized many times (on each run) |
It seems you need to pay attention to RTCEngine instance management. |
It seems like a lot of the issues get fixed with the new version. So would you recommend 4.4 or 4.5? Also, is it stable with Windows/Mac/Android/iOS? |
I would recommend version 4.5.0. Additionally, starting from version 4.4.0, there have been changes in the way blueprints are used. Please be aware of this. |
Im getting this error while trying to build my project - I first downloaded the 4.5 BP template, then put in the 4.4 VOICE SDK, and then overwrote that with the 4.5 SDK |
Maybe you need to clean the Intermediate folders and rebuild again. |
Also, for now, 4.5.0 has been released. |
Ah, ok. Just a heads up, the 4.5-release branch still lists the 4.4 sdk |
thx for pointing it out, this got fixed. |
Looks good @WinterPu Question. Is there any reason i cant simply bind events to RTCEngine>GetEventHandler that persist across levels, rather than creating an actor specific to it (the BP_Audio_CBExecutor). My code is all in the game instance, so the bindings should persist as well. |
|
Within the editor, everything works on the first play, but second play causes a crash. At times, even if i dont play a second time, maybe 10-15 seconds later, it crashes unreal. If i disable connecting to voice exclusively in pie, then all works fine (without voice).
Not that one would need voice in the editor, but it does help with the debugging.
My assumption is that this is related to the instance of the RTC engine that is created by the game instance on the first run, and then the creating of a new one without handling of the old one on the next play.
The text was updated successfully, but these errors were encountered: