BakedLightmap.BakeError

Values

ValueMeaning
bakeErrorOk0

Baking was successful.

bakeErrorNoSavePath1

Returns if no viable save path is found. This can happen where an imagePath is not specified or when the save location is invalid.

bakeErrorNoMeshes2

Currently unused.

bakeErrorCantCreateImage3

Returns when the baker cannot save per-mesh textures to file.

bakeErrorLightmapSize4

The size of the generated lightmaps is too large.

bakeErrorInvalidMesh5

Some mesh contains UV2 values outside the $(D 0,1) range.

bakeErrorUserAborted6

Returns if user cancels baking.

bakeErrorNoLightmapper7

Meta