Point- and Spot lights not baking

Hey Dev’s,

I bought this asset and I’m trying to convert the Realtime bit to Baked but having issues with that.

Lights are not showing up after baking

When I clear all lighting data it shows up like it should but when I bake the lighting all the lights disappear.

I’ve already increased the quality settings where ever possible and fiddled with all the controls.

  • Generate UV’s are on
  • Everything is set to Static
  • All lights are set to Baked obviously
  • Cleared all caches numerous of times
  • Yelled at the screen repeatedly
  • Increased and decreased the range on the lights (screenshots)
  • Precomputed Realtime GI is turned off
  • Shaved 4 sheep
  • Added and removed Directional Light
  • Reduced the number of lights in the scene
  • Drank a lot of beer
  • Turned on Draw Halo (that at least showed after baking)
  • Set the Quality Settings way up high
  • ???
  • Profit

Still no luck

It’s this asset: Unity Asset Store - The Best Assets for Game Making

No answer yet from the creator.

anything that could help?

Cheers

2 Answers

2

Well, solved it the ugly way. Apparently as long as I have 2 of each light in game they bake and show up. But the copy of each light has to stay as well as the original.

I've been having the same issue. As soon as I start baking most of the lights will have their lighting vanish. Your solution worked for me, but this is obviously a bug of some kind in Unity.

–

Could you elaborate on your answer? I'm having the same issue but It only happens with some lights and some objects. All set to static and lights set to bake. What do you mean by "But the copy of each light has to stay as well as the original"? Can you only have two of each type of light for some reason?

–

This somehow worked for me aswell. No idea where the problem comes from since most objects don't have any problem baking.

–

At the very least, it does not happen in Mac OSX builds (as in: collisions are working normally there). That's the only other one I could try right now.

–

Got a reply from the creators.

Apparently they only make the assets but don’t know anything about baking.

Well, solved it the ugly way. Apparently as long as I have 2 of each light in game they bake and show up. But the copy of each light has to stay as well as the original.

–