- Home /
occlusion culling not working
when i try to bake the occlusion culling, i get this console error:
"Error occurred in PVS computation. This is probably due to running out of memory or a problem with the graphics card. Try decreasing the near plane value or defining smaller PVS Volumes. Don't lock the computer during PVS computation."
i've tried setting the near plane value as low as possible. still no dice. any help appreciated
i never got it fixed. i figured it was because of old hardware
Answer by skovacs1 · Oct 04, 2010 at 11:02 PM
Have you checked out the demo video on how to use the occlusion culling?
One of the most common problems people had with occlusion culling during the beta was that they had their settings too high, resulting in the above error.
actually now I have the unity3D pro 3.1 and my computer is a fairly high-end and the culling box I am using is not big either and I am on medium settings and still get this error.
Answer by rockman0420 · Dec 19, 2011 at 06:39 PM
I have had this problem many times and just figured out what seems to have fixed it today. What it seems is the problem is that the GPU was running out of memory. I have 2 GTX 580's installed with 1.5 G RAM in each. It seems that the occlusion culling was running out of memory because it was only using 1 GPU to process the information. What I did to get it to work was:
Open Nvidia Control Panel
Click Manage 3D Settings
Clock the Program Settings tab and add Unity.exe to the list
Apply changes
Now that you've done that and CUDA is enabled which allows Unity to use memory from both video cards you should not have a problem with Occlusion Baking running out of memory.
I also lowered the near clip plane value and made a couple of my occlusion areas smaller and it worked like a charm.
Your answer
Follow this Question
Related Questions
memory consumption vs. quality 1 Answer
Wii graphic specs 1 Answer
Problems with large script 3 Answers
How do I calculate how big my struct is? 2 Answers