当前位置:网站首页>Unity3d C # development of wechat games audio / sound playback problem solving process sharing
Unity3d C # development of wechat games audio / sound playback problem solving process sharing
2022-06-11 23:08:00 【Shi Yao Bu Ru】
Preface
I wrote an article before u3d Turn to the blog of wechat small game development tutorial , Received a lot of feedback from developers , I personally try my best to reply to what I know , Because the plug-in is in public beta , There will be many problems and unstable factors ; The plug-in will be updated frequently during development . I have encountered many problems that others have encountered , Many people are also asking about audio :

And I also met , Finally, it was solved by turning to the authorities .
Audio optimization
Due to export to WEBGL The game of , Audio processing upper There is a certain performance loss , It is recommended to call SDK In the audio API Direct control of playback , Can achieve good results . Use wechat audio API There is no need to monitor the rear audio onAudioInterruptionBegin,onAudioInterruptionEnd event , The plug-in automatically handles .
The way developers recommend is SDK Play the audio :
problem
I don't use SDK Of api Play the audio , It is Unity Self contained AudioSource Playing form , But in the Unity There's nothing wrong with the end , It is also normal in wechat developer tools after conversion , After running on the real machine, all audio reports the following errors :
Loading FSB failed for audio clip “****”.
Someone asked me this question , I couldn't answer the question at that time , Finally, I added customer service for small game development , And feed back the problem to him :
Today, he contacted me and told me that it was ok , I tried it and it really worked :
More tests may be needed , But now it seems that it should be basically normal , Otherwise, the game without sound effect is very painful .
summary
This process seems to be related to the platform version , After all, it is in the public beta , It is normal to have problems , If you have a problem , And you can't find it on the Internet , You can contact the customer service personnel , take Problem feedback , Maybe we can solve our problems .
边栏推荐
- [day3 literature intensive reading] Oriental time and space interaction in tau and kappa effects
- The latest "capsule Network Overview" paper of imperial technology, etc., 29 pages of PDF, expounds the concept, method and application of capsule
- postgresql10 进程
- 双向带头循环链表(C语言)
- 2022年安全员-A证考题模拟考试平台操作
- Wireless communication comparison of si4463, si4438 and Si4432 schemes of wireless data transmission module
- Swiper -- a solution to the conflict of single page multicast plug-ins
- 5. Xuecheng project Alipay payment
- Two way leading circular linked list (C language)
- Research Report on development trend and competitive strategy of global reverse osmosis membrane cleaning agent industry
猜你喜欢

2022新兴市场品牌出海线上峰会即将举办 ADVANCE.AI CEO寿栋将受邀出席

Jetpack架构组件学习(3)——Activity Results API使用

【Day8 文献泛读】Space and Time in the Child‘s Mind: Evidence for a Cross-Dimensional Asymmetry

【Day9 文献泛读】On the (a)symmetry between the perception of time and space in large-scale environments

CVPR 2022 | meta learning performance in image regression task

2022年安全员-B证理论题库及模拟考试

Mobile terminal - picture timeline of swipe effect

2022 operation of simulation examination platform for safety officer C certificate

Jetpack architecture component learning (3) -- activity results API usage

2022年高处安装、维护、拆除操作证考试题库模拟考试平台操作
随机推荐
[bitbear story collection] February MVP hero story open source with love
SDNU_ ACM_ ICPC_ 2022_ Weekly_ Practice_ 1st (supplementary question)
CVPR 2022 | 元学习在图像回归任务的表现
帝国理工等最新《胶囊网络综述》论文,29页pdf阐述胶囊的概念、方法与应用
Here we go! Dragon lizard community enters PKU classroom
一文读懂Logstash原理
mysql——find_in_set用法
Altium designer工程下多个原理图和PCB图的一一对应
IEEE-754 浮点转换器
【Day8 文献泛读】Space and Time in the Child‘s Mind: Evidence for a Cross-Dimensional Asymmetry
直播预告|FeatureStore Meetup V3 重磅来袭!
唤醒手腕 - 神经网络与深度学习(Tensorflow应用)更新中
Common problems of Converged Communication published in February | Yunxin small class
华为云、OBS、
Recruitment of audio and video quality test and Development Engineer
Getting started with message queuing MQ
Si4432 RF chip scheme typical application of data transmission of wireless communication module of Internet of things
Jetpack架构组件学习(3)——Activity Results API使用
[day4 literature intensive reading] space – time interdependence: evidence against Asymmetric mapping between time and space
16 | floating point numbers and fixed-point numbers (Part 2): what is the use of a deep understanding of floating-point numbers?