# Nanite Geometry Collections don't cast shadow in Hardware Ray Tracing

**URL:** <https://forums.unrealengine.com/t/nanite-geometry-collections-dont-cast-shadow-in-hardware-ray-tracing/1845680>\
**Category:** Rendering\
**Tags:** Ray-Tracing, unreal-engine, Nanite\
**Created:** [May 8, 2024, 3:50am UTC](https://forums.unrealengine.com/t/nanite-geometry-collections-dont-cast-shadow-in-hardware-ray-tracing/1845680 "2024-05-08T03:50:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danta1ion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/danta1ion/32/912541_2.png) [@Danta1ion](https://forums.unrealengine.com/u/Danta1ion)\
**Post date:** [May 8, 2024, 3:50am UTC](https://forums.unrealengine.com/t/nanite-geometry-collections-dont-cast-shadow-in-hardware-ray-tracing/1845680/1 "2024-05-08T03:50:59Z")

</div>

![Snipaste_2024-05-08_11-40-29](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/7/787a5e0082c6e65154896c555a7c1f6dde36bbbf.jpeg)

As described in the above image, when I enabled both hardware ray-traced shadow and nanite geometry collection, the shadow disappeared. The nanite geometry only accepts direct lighting from sunlight and point light, without AO and shadow.

Here’s another example of this.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/5/7d5b7d94fbcf59b6ce56f3b2d6c75a0d03e188ab.jpeg)

I viewed Unreal Engine source code and found that this issue was caused by `FNaniteGeometryCollectionSceneProxy` in `Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionSceneProxy.h`.

This class doesn’t override this function in base class:

```cpp
void GetDynamicRayTracingInstances(FRayTracingMaterialGatheringContext& Context, TArray<struct FRayTracingInstance>& OutRayTracingInstances) override;

```

So when ray tracer tries to get the instances of geometry collection, it returns nothing. I found that the latest git commit was in June 2023, and engine developers left a todo comment on `FGeometryCollectionSceneProxy`, not the nanite one.

Is there any further plan to fix this issue?

---

<div class="post-metadata">

**Author:** ![sinigr54](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sinigr54](https://forums.unrealengine.com/u/sinigr54)\
**Post date:** [June 6, 2025, 7:30am UTC](https://forums.unrealengine.com/t/nanite-geometry-collections-dont-cast-shadow-in-hardware-ray-tracing/1845680/2 "2025-06-06T07:30:24Z")

</div>

UE 5.6 same issue

---

<div class="post-metadata">

**Author:** ![syngen1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@syngen1](https://forums.unrealengine.com/u/syngen1)\
**Post date:** [August 28, 2025, 4:28pm UTC](https://forums.unrealengine.com/t/nanite-geometry-collections-dont-cast-shadow-in-hardware-ray-tracing/1845680/3 "2025-08-28T16:28:06Z")

</div>

My geometry collections dont cast shadows from spotlights even with Nanite ticked off. Unless Im doing something else wrong. Is there a way round this while using Lumen? I have a cave that collapses hopefully to block all the light. Its sort of key to the area.

---

<div class="post-metadata">

**Author:** ![greatmazingerz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@greatmazingerz](https://forums.unrealengine.com/u/greatmazingerz)\
**Post date:** [November 23, 2025, 1:31pm UTC](https://forums.unrealengine.com/t/nanite-geometry-collections-dont-cast-shadow-in-hardware-ray-tracing/1845680/4 "2025-11-23T13:31:31Z")

</div>

are your geometry cast shadow activated ? for me HW shadow just dont work .. only some mesh do that random so useless

---

<div class="post-metadata">

**Author:** ![greatmazingerz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@greatmazingerz](https://forums.unrealengine.com/u/greatmazingerz)\
**Post date:** [November 23, 2025, 1:46pm UTC](https://forums.unrealengine.com/t/nanite-geometry-collections-dont-cast-shadow-in-hardware-ray-tracing/1845680/5 "2025-11-23T13:46:28Z")

</div>

Ok i found the bug for me

HW RT shadow dont work not depending nanite or not but depending the texture material

if i use the world grid material it work if i use something else no…..

dont know how to solve yet but that in the material

some material that use almost identical master worr or not work .. that really strange

anyway…. quality on softare shadow look better for me than the jitterring HW one …. so will stick to SW
