初始化微信激励广告组件会掉帧?

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:00 726 0 全屏看文

AI助手支持GPT4.0

初始化微信激励广告组件会掉帧?
框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小游戏 Bug 微信激励广告组件 微信安卓客户端 7.0.14 2.11.3

在小游戏中初始化激励广告多例模式下,实例化化一个广告组件,游戏的帧率会从30帧下降到12帧左右,在微信小游戏工具会存在2.5秒左右的卡死状态,我的手机是iphoneXR

Framework type question type API / component name terminal type wechat version basic library version games bug wechat incentive advertising component wechat Android client 7.0.14 2.11.3 In the small game initialization incentive advertising multiple instance mode, instantiate an advertising component, the game frame rate will drop from 30 frames to about 12 frames, and there will be a stuck state of about 2.5 seconds in wechat small game tools. My mobile phone is iPhone XR

回答:

小游戏运营专员-宏:

你好,麻烦在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,时间点

启璐:微信号:zhangql240262305 时间:20200706 19:48
启璐:有没有可用的信息?
科本:请问是在开发者工具上卡死还是在真机上
启璐:在真机上也会有明显的掉帧现象,掉到15帧左右,在开发者工具上会卡死一会
科本:这里是只create就会掉帧吗,建议放到非复杂场景中去初始化
科本:可以提供下简易的代码片段
启璐:https://developers.weixin.qq.com/s/YAWr0PmX7Fip  打开调试面板,会显示fps,按一下屏幕就会实例化一个广告组件,会发现fps会下降不少,又回复到60,我用的xr最低18fps

-EOF-

AI助手支持GPT4.0