Unity升级到2022版本后,打开Spine会卡住

1)Unity升级到2022版本后,打开Spine会卡住
2)iPhone在同时播放多个音效的时候会压低某些音源的音量
3)在Y77手机上出现IMGSRV:GetMainShaderConstantBufferBaseAddress: Unsupported
4)UE4打包后在部分安卓机型出现"花屏"


这是第364篇UWA技术知识分享的推送,精选了UWA社区的热门话题,涵盖了UWA问答、社区帖子等技术知识点,助力大家更全面地掌握和学习。

Spine

Q:Unity升级到2022版本,发现打开Spine之后,等几秒必卡住。现象是音频正常播放,界面卡住,并且也不闪退也不卡死,也没触发无响应提示。跟踪了一下后发现UnityMainThread一切正常,有一个渲染类的线程一直卡住了,请问大家有遇到过类似这种问题吗?

针对以上问题,有经验的朋友欢迎转至社区交流分享:
UWA问答 | 游戏开发者互动问答社区 | 侑虎科技


Platform

Q:在场景中挂一个GO,循环播放BGM,在Prefab上挂一个AudioSource,播放一段战斗音效,然后短时间内初始化大概10个Prefab到场景里,接着就发现BGM音量变小了,战斗音效播完之后音量会慢慢变大。类似AudioMixer的Ducking Effect。由于其他平台都没有这个现象,因此想要在iPhone上也不要有这个效果。

经过测试有以下一些现象:

1. 只会在iPhone真机上出现,试了几个机子好像都能复现(没有连耳机,外放的)。

2. 试过用FMOD把BGM和战斗音效分到不同的Mix Group,没有做额外设置,就是单纯创建一个AudioMixer然后创建两个Group,再设置了一下两个AudioSource的Output,发现还是会被压低声音。

3. 试过改成用FMOD播声音,还是会压低音量。

4. 在Unity论坛上问过,官方回复说很像Ducking,上网搜过iPhone关掉自带的Audio Ducking,没有用,AudioMixer没有做设置,所以也是没有Ducking Effect的,一开始没有用AudioMixer也是会出现这个效果的。

想问下有人知道是什么问题吗,Unity或者iPhone哪里有相关的设置吗,Unity里面搜过Audio和iPhone相关设置,没有发现有关联的。

针对以上问题,有经验的朋友欢迎转至社区交流分享:
UWA问答 | 游戏开发者互动问答社区 | 侑虎科技


Platform

Q:在Y77这款手机上,对应GPU是PowerVR B-series BXM-8-256上,大家有没有遇到过出现IMGSRV:GetMainShaderConstantBufferBaseAddress: Unsupported的情况?

针对以上问题,有经验的朋友欢迎转至社区交流分享:
UWA问答 | 游戏开发者互动问答社区 | 侑虎科技


Platform

Q:UE4 安卓打包后在部分机型出现"花屏",求助大佬可以帮忙分析一下出现的原因。

正常画面:

花屏画面:

对应的Log:

倒计时 currentSecond >>31
Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1088 com.android.server.OppoBaseBatteryService2.run:192 android.os.Handler.handleCallback:883 android.os.Handler.dispatchMessage:100 android.os.Looper.loop:237 service_to_fd shell:am startservice -a falcon.action.ADB_HEART_BEAT --user 0 Background start not allowed: service Intent { act=falcon.action.ADB_HEART_BEAT } to com.testbird.falcon/.service.FalconService from pid=12276 uid=2000 pkg=com.android.shell startFg?=false post waitpid (pid=12274) status=ff00 \[minicap\](this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 2 is dropped, handle=0x7e90666c80 getWifiLinkLayerStats_1_3_Internal(l.936) failed {.code = ERROR_NOT_SUPPORTED, .description = } info 14:31:13.196 11154 11154 倒计时 currentSecond \>\>32 info 14:31:13.593 9230 9251 \[minicap\](this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 0 is dropped, handle=0x7e90666640 info 14:31:14.197 11154 11154 倒计时 currentSecond \>\>33 info 14:31:14.347 9230 9251 \[minicap\](this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 0 is dropped, handle=0x7e90666640 info 14:31:14.703 9230 9251 \[minicap\](this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 2 is dropped, handle=0x7e90666c80 info 14:31:14.784 9230 9251 \[minicap\](this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 1 is dropped, handle=0x7e90666a00 error 14:31:15.69 5186 7008 TakeRentPerfTask.update(Line:196)\[TakeRentPerfTask\]: update size=0 info 14:31:15.196 11154 11154 倒计时 currentSecond \>\>34 warn 14:31:15.388 440 449 Endorsement token not found, wait a bit longer \[vendor/mediatek/proprietary/trustzone/trustonic/source/external/mobicore/common/410/Daemon/src/EndorsementInstaller.cpp:105\] info 14:31:15.810 9230 9251 \[minicap\](this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 2 is dropped, handle=0x7e90666c80 error 14:31:15.978 1483 1625 getWifiLinkLayerStats_1_3_Internal(l.936) failed {.code = ERROR_NOT_SUPPORTED, .description = } info 14:31:16.196 11154 11154 倒计时 currentSecond \>\>35 warn 14:31:16.391 1483 3765 Background start not allowed: service Intent { act=falcon.action.START_SERVICE } to com.testbird.falcon/.service.FalconService from pid=12281 uid=2000 pkg=com.android.shell startFg?=false info 14:31:17.5 9230 9251 \[minicap\](this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 0 is dropped, handle=0x7e90666640 service_to_fd shell:cat /sdcard/testbird/ipInfo.txt post waitpid (pid=12284) status=0000 倒计时 currentSecond \>\>36 \[minicap\](this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 1 is dropped, handle=0x7e90666a00 type=1400 audit(0.0:841041): avc: denied { search } for name="power_supply" dev="sysfs" ino=39298 scontext=u:r:bspCriticalLog:s0 tcontext=u:object_r:sysfs_battery_supply:s0 tclass=dir permissive=0 uid=1000(system) /system/bin/bspCriticalLog identical 1 line type=1400 audit(0.0:841043): avc: denied { search } for name="power_supply" dev="sysfs" ino=39298 scontext=u:r:bspCriticalLog:s0 tcontext=u:object_r:sysfs_battery_supply:s0 tclass=dir permissive=0 倒计时 currentSecond \>\>37 getWifiLinkLayerStats_1_3_Internal(l.936) failed {.code = ERROR_NOT_SUPPORTED, .description = } TakeRentPerfTask.update(Line:196)\[TakeRentPerfTask\]: update size=0 倒计时 currentSecond \>\>38 \[minicap\](this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 0 is dropped, handle=0x7e90666640 \[minicap\](this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 1 is dropped, handle=0x7e90666a00 倒计时 currentSecond \>\>39 倒计时 currentSecond \>\>40 HttpUtils.log(Line:208): doGet https://checkip.amazonaws.com/ No valid NAT64 prefix (102, /0) Background start not allowed: service Intent { act=falcon.action.START_SERVICE } to com.testbird.falcon/.service.FalconService from pid=12290 uid=2000 pkg=com.android.shell startFg?=false \[minicap\](this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 2 is dropped, handle=0x7e90666c80 \[minicap\](this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 2 is dropped, handle=0x7e90666c80 getWifiLinkLayerStats_1_3_Internal(l.936) failed {.code = ERROR_NOT_SUPPORTED, .description = } 倒计时 currentSecond \>\>41 HttpUtils.log(Line:208): doGet https://checkip.amazonaws.com/, cost: 1038 ms service_to_fd shell:am startservice -a falcon.action.ADB_HEART_BEAT --user 0 Background start not allowed: service Intent { act=falcon.action.ADB_HEART_BEAT } to com.testbird.falcon/.service.FalconService from pid=12296 uid=2000 pkg=com.android.shell startFg?=false post waitpid (pid=12294) status=ff00 TakeRentPerfTask.update(Line:196)\[TakeRentPerfTask\]: update size=0 倒计时 currentSecond \>\>42 \[minicap\](this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 1 is dropped, handle=0x7e90666a00 Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1088 com.android.server.OppoBaseBatteryService2.run:192 android.os.Handler.handleCallback:883 android.os.Handler.dispatchMessage:100 android.os.Looper.loop:237
倒计时 currentSecond >>43
minicap(this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 2 is dropped, handle=0x7e90666c80
getWifiLinkLayerStats_1_3_Internal(l.936) failed {.code = ERROR_NOT_SUPPORTED, .description = }
倒计时 currentSecond >>44
minicap(this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 1 is dropped, handle=0x7e90666a00
minicap(this:0x7e90653000,id:0,api:1,p:574,c:9230) queueBuffer: slot 2 is dropped, handle=0x7e90666c80
Background young concurrent copying GC freed 17584(4444KB) AllocSpace objects, 381(7620KB) LOS objects, 60% free, 7800KB/19MB, paused 189us total 114.217ms
倒计时 currentSecond >>45

说明:目前测试环境为云真机OPPA3。

可以帮忙分析一下是什么原因导致的呢?感激不尽。

针对以上问题,有经验的朋友欢迎转至社区交流分享:
UWA问答 | 游戏开发者互动问答社区 | 侑虎科技

封面图来源于网络


今天的分享就到这里。生有涯而知无涯,在漫漫的开发周期中,我们遇到的问题只是冰山一角,UWA社区愿伴你同行,一起探索分享。欢迎更多的开发者加入UWA社区。

UWA官网:www.uwa4d.com
UWA社区:community.uwa4d.com

相关推荐
mxwin5 小时前
Unity URP 中的法线生成完全指南
unity·游戏引擎
游乐码5 小时前
Unity基础(十五)LineRender画线功能
unity·游戏引擎
玖玥拾6 小时前
Cocos学习笔记:瓦片地图与坐标转换
游戏引擎·cocos2d
小贺儿开发7 小时前
Unity3D 图片循环查看器
unity·工具·图片·列表·循环·ugui·互动
晓131311 小时前
【Cocos Creator 3.x】篇——第二章 入门
前端·javascript·游戏引擎
玖玥拾13 小时前
Cocos学习笔记:粒子系统与对象层批量处理
游戏引擎·cocos2d
是果果呀儿14 小时前
Vuforia实现物体旋转、移动、缩放
unity·增强现实
不知名的老吴17 小时前
Unity3D 2022安装教程及全流程下载步骤指南
unity·游戏引擎
Thomas_YXQ17 小时前
Unity3D Addressable 深度优化热更性能消耗
开发语言·3d·unity·微信
程序员也有头发17 小时前
如何使用AI工具开发Unity
unity·游戏引擎·ai编程