# UE5 and missing performant occlusion culling - is the fix coming soon?

**URL:** <https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020>\
**Category:** XR Development\
**Tags:** Mobile-VR, unreal-engine\
**Created:** [October 7, 2022, 2:47am UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020 "2022-10-07T02:47:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [October 7, 2022, 2:47am UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/1 "2022-10-07T02:47:11Z")

</div>

@VictorLerp

As many people are already aware and experienced this issue first hand, UE5 is not yet well suited for mobile VR projects with complex levels as there is no performance-friendly occlusion culling technique present. UE4 had software occlusion culling (along with precomputed visibility culling), which help a ton as it was running on CPU and most more or less complex Quest 2 / Pico 4 projects are GPU bound, which leaves no room for hardware occlusion culling.

Turning off hardware occlusion via cvar in the .ini file does nothing to help performance. In order to bring performance up on Quest 2 with UE5, I had to turn off occlusion culling checkbox in the Project Settings. However, that also disabled precomputed visibility.

Here is a video of a repro case I submitted via bug report form to Epic since 5.0.2 release and never heard back:

> **[UE5.0.2 issues](https://www.youtube.com/shorts/z0J3wULjiQw)**
>
> Proc foliage LODs blow up, precomputed visibility culling not working

Also video shows broken static mesh animated via WPO (no idea if it was fixed in 5.1, still downloading preview 1 😅 )

Is there any way you could please find out what are the plans for mobile VR friendly occlusion culling techniques in UE 5.1+ ? Thanks

---

<div class="post-metadata">

**Author:** ![gh0stfase1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gh0stfase1/32/1194639_2.png) [@gh0stfase1](https://forums.unrealengine.com/u/gh0stfase1)\
**Post date:** [October 7, 2022, 4:01am UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/2 "2022-10-07T04:01:31Z")

</div>

Up-voting this.

I ran into an issue recently when using 5.0.3 on a mobile VR scene. I made multiple optimization passes on my scene but just couldn’t seem to maintain frame rate. I brought RenderDoc in and found the culprit. Despite having precomputed occlusion culling active (and aggressive) there were still elements of my scene which were clearly hidden but still coming through when deployed to the device. Below is a section of the scene in question through various stages of the render as viewed through RenderDoc.

A section of pillars midway through the render, which later on are not visible at all.

 ![scene_render1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/c/cac95de1f5f2e5dba77ee422873834c9136d35e9.jpeg)

Near the end of the render you can see the section of pillars is completely covered.

 ![scene_render2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/b/0cb05449a2b54b497d472cc5a28f94555a11905e.jpeg)

To add insult to injury, in editor the occlusion culling (presumably hardware) easily culled out the pillars which could be seen by freezing the rendering and looking behind the wall.

It is my understanding that software occlusion culling could have potentially saved me the headache but is no longer supported in 5. In order to get this scene working I had to resort to a lot of extra hand made culling using the precomputed visibility override volumes.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [January 3, 2023, 4:14pm UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/3 "2023-01-03T16:14:02Z")

</div>

So, based on the feedback received from Epic (or rather, ignored), I have a strong feeling it’s not coming any time soon or not coming at all ☹

---

<div class="post-metadata">

**Author:** ![Maaaaaaakik](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maaaaaaakik/32/764426_2.png) [@Maaaaaaakik](https://forums.unrealengine.com/u/Maaaaaaakik)\
**Post date:** [January 11, 2023, 1:46pm UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/4 "2023-01-11T13:46:11Z")

</div>

Hi, I have also meet this problem. Affer struggling for a long time, I found out why:  
The reasons may be:

- Nanite

- No existsed collision.

So what you have to do is:

1. Make sure you have build collision primitive for your mesh and have both simple and complex collision primitives (although you can set simple for complex);
2. r.Nanite 0, **even though you have turned it off in project setting** ; (Nanite uses another culling system rather than occlusion culling)
3. Try to refresh your project, by restart or something similar.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [January 11, 2023, 2:41pm UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/5 "2023-01-11T14:41:39Z")

</div>

> [@Maaaaaaakik](#):
>
> - Make sure you have build collision primitive for your mesh and have both simple and complex collision primitives (although you can set simple for complex);
> - r.Nanite 0, **even though you have turned it off in project setting** ; (Nanite uses another culling system rather than occlusion culling)
> - Try to refresh your project, by restart or something similar.

Well, I have all that. Performance is still ■■■■.

---

<div class="post-metadata">

**Author:** ![Paul\_Eckhardt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Paul\_Eckhardt](https://forums.unrealengine.com/u/Paul_Eckhardt)\
**Post date:** [March 15, 2023, 3:45pm UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/6 "2023-03-15T15:45:31Z")

</div>

Anybody found and fixes for this?

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [March 15, 2023, 3:48pm UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/7 "2023-03-15T15:48:45Z")

</div>

[https://developer.oculus.com/blog/updates-developers-unreal-engine-5/](https://developer.oculus.com/blog/updates-developers-unreal-engine-5/)

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/6/8a65766d8d160006fb9f7633b83701baadff1752.png)

---

<div class="post-metadata">

**Author:** ![jazznazz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jazznazz](https://forums.unrealengine.com/u/jazznazz)\
**Post date:** [April 16, 2023, 9:08pm UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/8 "2023-04-16T21:08:52Z")

</div>

@gh0stfase1 Precomputed visibility works - just tried it on Unreal 5.1.1 + Quest 2 standalone + the latest MetaXR plugin V50 ( 1.82.0 ). Hooked up RenderDoc and did a capture - it’s not rendering things it’s not supposed to.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [April 17, 2023, 1:55pm UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/9 "2023-04-17T13:55:04Z")

</div>

> [@jazznazz](#):
>
> Precomputed visibility works - just tried it on Unreal 5.1.1 + Quest 2 standalone + the latest MetaXR plugin V50 ( 1.82.0 ). Hooked up RenderDoc and did a capture - it’s not rendering things it’s not supposed to.

Great news, but it’s a royal pita to use when you have large complex level (gotta bake preview lighting using CPULM just to build precomputed vis). As you can imagine rapid iteration is down the drain with precomputed vis.

---

<div class="post-metadata">

**Author:** ![House\_zu\_Heltzer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/house_zu_heltzer/32/488662_2.png) [@House\_zu\_Heltzer](https://forums.unrealengine.com/u/House_zu_Heltzer)\
**Post date:** [June 9, 2023, 11:40pm UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/10 "2023-06-09T23:40:31Z")

</div>

Is this using unreal’s culling or does meta provide their own culling solution via the plugin? As of 5.2 precomputed viz doesn’t exist. You can confirm this by navigating to project settings and searching for “Warn no precomputed visibility” and enabling it, and attempting to add precomputed viz to your level by including baking lighting.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/1/971e5b7977263a6ad124057ce64797808f8bd17c.png)  
The static mesh editor and material editor preview window are it’s own ‘world’, I believe with a precomputed viz unless the meshes bounds exceed a certain size (correct me if I’m wrong). That you can see NO PRECOMPUTED VISIBILITY on each preview and in the editors is a sign that it doesn’t exist.

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [June 11, 2023, 8:36pm UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/11 "2023-06-11T20:36:29Z")

</div>

Did you try this from the docs?

> #### Round Robin Occlusion for VR
> 
> **Round Robin Occlusion** is one of the dynamic occlusion query methods to improve stereo rendering performance by alternating between one eye each frame instead of both. There is an added frame of latency to occlusion data which could result in incorrect rendering in the the periphery with the trade off being that Round Robin Occlusion saves an entire frame’s worth of queries. The trade off in savings can help most with scenes that are draw call or visibility bound.
> 
> Enable Round Robine Occlusion in your .ini config file or at runtime using the following console variable:
> 
> ```auto
> vr.RoundRobinOcclusion=1
> 
> ```

> **[Visibility and Occlusion Culling](https://docs.unrealengine.com/5.2/en-US/visibility-and-occlusion-culling-in-unreal-engine/)**
>
> An overview of available visibility and occlusion culling methods.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [June 12, 2023, 1:55pm UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/12 "2023-06-12T13:55:59Z")

</div>

This doesn’t yield much performance gains, comparing to software occlusion culling.

So, RIP precomputed visibility too?! Wow, as if Epic tries hard to discourage VR devs from using UE5.x for standalone VR dev.

---

<div class="post-metadata">

**Author:** ![TrueFranco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/truefranco/32/1095055_2.png) [@TrueFranco](https://forums.unrealengine.com/u/TrueFranco)\
**Post date:** [June 23, 2023, 4:06pm UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/13 "2023-06-23T16:06:11Z")

</div>

I have a 5.1.1 build which I incorporated the old Software Occlusion Culling and I think it work.  
Feel free to try it and let me know.  
You can compile it yourself or you can use the torrent file I provide in Release to download the binaries.

> **[GitHub - truefranco/UnrealEngine-MetaXR-5.1](https://github.com/truefranco/UnrealEngine-MetaXR-5.1)**
>
> Contribute to truefranco/UnrealEngine-MetaXR-5.1 development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [June 24, 2023, 12:54am UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/14 "2023-06-24T00:54:33Z")

</div>

Amazing work! I haven’t tried it yet (gave up on UE5 after I learned about missing software occlusion culling and uninstalled everything), but is it safe to assume you will have 5.2.1 Meta fork with software occlusion culling when it is released by Meta ?

---

<div class="post-metadata">

**Author:** ![TrueFranco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/truefranco/32/1095055_2.png) [@TrueFranco](https://forums.unrealengine.com/u/TrueFranco)\
**Post date:** [June 24, 2023, 5:20am UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/15 "2023-06-24T05:20:05Z")

</div>

Yes I will 😉

---

<div class="post-metadata">

**Author:** ![Starkium](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/starkium/32/1194588_2.png) [@Starkium](https://forums.unrealengine.com/u/Starkium)\
**Post date:** [June 25, 2023, 2:01am UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/16 "2023-06-25T02:01:53Z")

</div>

I have am having build errors trying to package from this, lots of linker issues.

---

<div class="post-metadata">

**Author:** ![TrueFranco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/truefranco/32/1095055_2.png) [@TrueFranco](https://forums.unrealengine.com/u/TrueFranco)\
**Post date:** [June 25, 2023, 2:08am UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/17 "2023-06-25T02:08:41Z")

</div>

Can you be more specific ? Do you mean building the Engine ?

---

<div class="post-metadata">

**Author:** ![Starkium](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/starkium/32/1194588_2.png) [@Starkium](https://forums.unrealengine.com/u/Starkium)\
**Post date:** [June 26, 2023, 1:23am UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/18 "2023-06-26T01:23:57Z")

</div>

Build fails and cites these linker issues through out the process:

```auto
PackagingResults: Error: undefined symbol: __aarch64_swp8_acq_rel
PackagingResults: Error: undefined symbol: __aarch64_ldadd4_acq_rel
PackagingResults: Error: undefined symbol: __aarch64_ldadd4_relax
PackagingResults: Error: undefined symbol: __aarch64_cas4_relax
PackagingResults: Error: undefined symbol: __aarch64_ldadd4_rel
PackagingResults: Error: undefined symbol: __aarch64_cas4_acq_rel
PackagingResults: Error: undefined symbol: __aarch64_ldadd8_acq_rel
PackagingResults: Error: undefined symbol: __aarch64_cas8_acq_rel
PackagingResults: Error: undefined symbol: __aarch64_ldset8_rel
PackagingResults: Error: undefined symbol: __aarch64_ldadd4_acq
PackagingResults: Error: undefined symbol: __aarch64_cas8_relax
PackagingResults: Error: undefined symbol: __aarch64_cas8_acq
PackagingResults: Error: undefined symbol: __aarch64_ldset8_acq
PackagingResults: Error: undefined symbol: __aarch64_ldset8_acq_rel
PackagingResults: Error: undefined symbol: __aarch64_ldadd8_relax
PackagingResults: Error: undefined symbol: __aarch64_cas8_rel
PackagingResults: Error: undefined symbol: __aarch64_ldset4_rel
PackagingResults: Error: undefined symbol: __aarch64_swp1_acq_rel
PackagingResults: Error: undefined symbol: __aarch64_cas1_acq_rel
PackagingResults: Error: undefined symbol: __aarch64_swp4_acq_rel
PackagingResults: Error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
PackagingResults: Error: linker command failed with exit code 1 (use -v to see invocation)
PackagingResults: Error: Unknown Error

```

I’m using ndk 21 with min sdk set to 31 and max set to 32 if that helps.

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [June 26, 2023, 6:27am UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/19 "2023-06-26T06:27:23Z")

</div>

Are you compiling under Linux? Most posts on forums with similar errors point to compile problems with certain versions of gcc.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [June 27, 2023, 5:24pm UTC](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020/20 "2023-06-27T17:24:32Z")

</div>

Nah, he is on Windows 100%.

[Next page](https://forums.unrealengine.com/t/ue5-and-missing-performant-occlusion-culling-is-the-fix-coming-soon/664020.md?page=2)
