Unity 转微信小游戏Error building Player: Incompatible color space with graphics API

Unity 转微信小游戏Error building Player: Incompatible color space with graphics API

Unity 开发 微信小游戏,进行转换小游戏时报Error building Player: Incompatible color space with graphics AP错误,主要原因是不兼容WEBGL2.0。

方法一

需要在 Unity Editor中File->Build settings->Player Settings中设置Color space为Gamma。默认值是Linear这需要WebGL2.0支持。

方法二

勾选选项WebGL2.0(Beta)选项。也可解决上述问题

备注

minigame-unity-webgl-transform 插件版本minigame.202302151921.unitypackage。估计今后的版本会推出支持WebGL2.0正式版

在这里插入图片描述

Alt

猜你喜欢

转载自blog.csdn.net/allexw/article/details/129199712