This document describes how to solve GME issues encountered during development.
For common issues encountered during development, you can analyze their type and solve them as follows:
Document | Solved Issues |
---|---|
Features | GME feature issues such as platform compatibility. |
Billing | Questions about billing mode or billing time |
Demo | Issues encountered when you use GME's SampleProject or demo |
Authentication | Issues encountered during GME authentication |
Room Entering Failed, Sound and Audio, and Network | Issues encountered when you use the GME voice chat feature |
Speech-to-text Conversion | Issues encountered when you use the speech-to-text conversion feature |
Program Export | Issues encountered when you export the application for each platform (to a real device) |
If a feature issue occurs during development, you can identify it based on the returned error code first. If you cannot troubleshoot the issue based on the error code, you can submit a ticket for assistance.
For detailed error codes and their causes and solutions, see Error Codes.
When providing logs, you also need to specify the time point when the problem occurred as well as the logs of both the recipient (listener) and sender (speaker).
Log path
The file named QAVSDK_date.log
is the log file, which is in the following directories:
OS | Path |
---|---|
Windows | %appdata%\GMEGLOBAL\GME\processName |
iOS | Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Documents |
Android | /sdcard/Android/data/xxx.xxx.xxx/files |
Mac | /Users/username/Library/Containers/xxx.xxx.xxx/Data/Documents |
If you are using the Unity engine and developing on PC, try to find the log under the %appdata%\Tencent\GME\Unity.exe
path.
On iOS virtual machine, logs can be obtained through application supporting file sharing as follows:
Info.plist
file, and set the key value to "YES".Note:With GME version 2.8.4 or below, the Windows platform log location is:
%appdata%\Tencent\GME\ProcessName
.
Log output level
It is recommended to restore the default log output level if you have called the SetLogLevel when providing logs.
Log encryption
Currently, GME logs are encrypted by default. You can call the following API to disable log encryption. We recommend you disable log encryption during development and enable it before application release. This API must be called before init
.
SetAdvanceParams("DisableEncryptLog", "1");
Parameter | Description |
---|---|
Parameter 1 | Enter DisableEncryptLog to enable/disable log encryption. |
Parameter 2 | Valid values: 1 : Disable log encryption; 0 : Enable log encryption. |
If a crash occurs, troubleshoot as instructed in Program Export first. If the issue persists, provide the stack to GME developers for assistance.
Was this page helpful?