目录

Unity发布抖音小游戏的一些注意事项

目录

Unity发布抖音小游戏的一些注意事项

使用 webgl模式 发布抖音小游戏的一些注意事项

1.打包

使用webgl模式打包抖音小游戏,会因为找不到aapt工具导致打包失败

提示: aapt检查失败: sdk/build-tools/版本号。

解决方法:再unity hub里添加Android Build Support https://i-blog.csdnimg.cn/blog_migrate/5a47ae418c6799086464c23a5bc80520.png

2.黑屏问题

相机的HDR设为off

https://i-blog.csdnimg.cn/blog_migrate/e7c5708e3ba02e694e70b55a56ba7a30.png

3.Text字体不见的问题

不能用unity自带的字体,需要自己给text设置一个字体文件

https://i-blog.csdnimg.cn/blog_migrate/72598240a868e7982a775796bf7511e8.png

4.不能使用SpriteAtlas

透明图片会穿插,显示会有问题