Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
cantCreateImage
Lightmap baking failed as the resulting image couldn’t be saved or imported by Godot after it was saved.
LightmapGI.swift:87case cantCreateImage
Other cases
case ok
Lightmap baking was successful.
case noSceneRoot
Lightmap baking failed because the root node for the edited scene could not be accessed.
case foreignData
Lightmap baking failed as the lightmap data resource is embedded in a foreign resource.
case noLightmapper
Lightmap baking failed as there is no lightmapper available in this Godot build.
case noSavePath
Lightmap baking failed as the
LightmapGIData
save path isn’t configured in the resource.case noMeshes
Lightmap baking failed as there are no meshes whose
giMode
is ``GeometryInstance3D/GIMode/`static``` and with valid UV2 mapping in the current scene. You may need to select 3D scenes in the Import dock and change their global illumination mode accordingly.case meshesInvalid
Lightmap baking failed as the lightmapper failed to analyze some of the meshes marked as static for baking.
case userAborted
The user aborted the lightmap baking operation (typically by clicking the Cancel button in the progress dialog).
case textureSizeTooSmall
Lightmap baking failed as the maximum texture size is too small to fit some of the meshes marked for baking.