You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's a bit odd , there is nothing at line EditorUtils.cs:201 , and it should have thrown an error at line EditorUtils.cs:206 instead. Where is your project located ? Try Debug.Log saveTo and copyFrom before you enter the try block and put the log here. If you can share a .unitypackage with what you are trying to bake and your editor version i could try and replicate your error.
( if you do , plz include bake settings and scene file )
Assets/Resources/Lightmaps/Plane (1)/Plane (1)_light-0.asset
UnityEngine.Debug:LogError (object)
PrefabLightMapBaker.EditorUtils:SaveLightmapAsset (string,string) (at Assets/Scripts/Editor/EditorUtils.cs:201)
PrefabLightMapBaker.Baker:SaveSceneLightmap (int,string) (at Assets/Scripts/Editor/Baker.cs:206)
PrefabLightMapBaker.Baker:GetOrSaveSceneLightmapToAsset (int,string) (at Assets/Scripts/Editor/Baker.cs:156)
The text was updated successfully, but these errors were encountered: