superunitybuild / buildtool

A powerful automation tool for quickly and easily generating builds with Unity.
MIT License
1.13k stars 118 forks source link

Error building Player: Incompatible color space with graphics API #100

Closed Tyson-Wu closed 2 months ago

Tyson-Wu commented 1 year ago

when i set linear color space for android platform, build for android throw the error: "Error building Player: Incompatible color space with graphics API" i fix this by add a simple line: AssetDatabase.SaveAssets(); in the BuildProject.cs before invoke BuildPipeline.BuildPlayer

MatthieuG9 commented 1 year ago

Same issue here with Unity 2022.x

MatthieuG9 commented 1 year ago

Here the PR : https://github.com/superunitybuild/buildtool/pull/118

robinnorth commented 2 months ago

Fixed in #118