Hi,
Please forgive my ignorance. I’m returning to coding after several years away–mostly academic, and I’m jumping in with my first Unity project. I purchased some assets, imported them to a project. Great. Now I’m going through trying to clear up any initial conflicts. I just installed the updated Unity 5.6 prior to starting this project. I did not own most of these assets prior to the update.
So I’m going through my list of conflicts and errors, where I run across this: “Occlusion culling data is out of date. Please rebake.” First, is this normal? Second, since I just installed a large group of assets, how am I supposed to know what is supposed to be rebaked if Unity doesn’t tell me where this is coming from? Am I simply supposed to rebake everything? Should I make test projects and go through each of my assets individually to find the source of the issue?
Thank you for your time.
I think you need to read up a bit on what Occlusion Culling is: Unity - Manual: Occlusion culling
In short, first you bake an occlusion mesh of your scene. Then, Unity can tell what exactly the camera is looking at, and not waste resources rendering stuff the camera doesn’t see. So there’s no such thing as baking an asset, it’s baking the whole scene. I highly recommend reading the whole doc as it isn’t that complicated and is a very interesting read.
So I’d say clear all bake data and rebake the scene.
Thanks. I appreciate your reply. I’m just going to delete the project and start over–just adding in what I need as I go. There were several demoscenes, props, etc in the project. So, when I asked what it was that needed baking, I wasn’t just ignorant of the process. I really have no idea what needs to be rebaked. So… like I said, I’m deleting the project and starting over. This time, instead of putting all the things I plan to use in, I’ll be sure to only put in what I need at the time I’m going to work on it. No sense adding clutter.
And thanks for the link. I’ve already read that. It wasn’t that I was ignorant of what Occlusion Culling is in theory–I was ignorant of what it means to say it needs rebaking when there are several assets in the project and no clue as to what needs rebaking since I haven’t created any scenes as yet.