Occlusion Breaks Lightmapping?

Hey all - just wondering if this is a known thing. Didn’t jump out at me on a quick search.

I’m finding that when I generate occlusion culling for a scene it causes my light mapping to stop working - i.e. the light mapping no longer shows up when I run the game. If I clear the occlusion data, the light mapping comes back.

Thoughts? Feelings? Anecdotes?

Bueller?

There is a bug with real time lights and occlusion baking, the fix is in this weeks patch.

1 Like

Fix most likely coming mid-week, in patch 5.2.2p2

1 Like

Same issue here, was going to send a bug report but glad it’s already known.

Raises an interesting point - I’m 95% sure these lights are set to baked only and they’re not showing up, so are we sure this is an issue limited to realtime lights?

Either that or we’ve just identified that my lights are set up incorrectly. I’ll have to check that a little later.

Which version are you using? The issue was introduced in 5.2.1p2, if you are using that are a later version then its likely to be the same problem. If this weeks patch does not fix it then file a new bug report.

Any news on this? I don’t think there’s been a patch released (unless I missed something?).

Kind of a big deal not being able to use occlusion culling at all right now.

The fix is out this week. 5.2.2p4. The previous fix still had problems which have now been addressed in 5.2.2p4.

Exxxxxcellent. Thanks!

Actually - it’s just occurred to me that I don’t know where to download these “patches”. Are they incorporated into the main version - i.e. right now that lists as 5.2.2f1, so from what you’ve said, I’d assume that there’s a 5.2.2p3 accessible somewhere? I’ve only ever downloaded Unity versions from the main “Get Unity” link.

http://unity3d.com/unity/qa/patch-releases

1 Like

Awesome thanks! I feel like that’s something I should have known but missed a post on at some point.