Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a problem with the path of bake #8

Open
ZhaoriGame opened this issue Sep 26, 2023 · 1 comment
Open

There is a problem with the path of bake #8

ZhaoriGame opened this issue Sep 26, 2023 · 1 comment

Comments

@ZhaoriGame
Copy link

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)

@nukadelic
Copy link
Owner

nukadelic commented Oct 4, 2023

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 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants