See SDK Download Guide. GME provides demos for Unity, Cocos2d, Android (native) and iOS (native).
VS2015 is recommended. If you want to use VS2010, you need to downgrade the project on your own.
An OpenId is the unique ID of a user. If you use the same OpenId on multiple devices, such as for multi-device login, it may cause login failure.
Use the demo on another device to enter the same room.
If an error occurs for room access parameters, check whether your SDKAppID and access key have been replaced as instructed.
OnApplicationFocus
is configured in Unity Demo. When the program loses focus, the sound is paused. If you need to play sound in the backgroud, remove the codes that calling the Pause API.
For troubleshooting, provide the log and the occurrence time
Logs are all named in the format of QAVSDK_date.log, and can be found in the following directories:
OS | Path |
---|---|
Windows | %appdata%\Tencent\GMEGLOBAL\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
.
On an iOS device, logs can be obtained through application supporting file sharing as follows:
Info.plist
file, and set the key value to "YES".Note:For GME SDK 2.8.4 and older versions, logs of Windows devices are stored under
%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.
Was this page helpful?