# Fatal error: Shader requested a global uniform buffer of type 'MobileBasePass' at static slot '\[Name: SceneTextures, Slot: 9\]', but it was null.

**URL:** <https://forums.unrealengine.com/t/fatal-error-shader-requested-a-global-uniform-buffer-of-type-mobilebasepass-at-static-slot-name-scenetextures-slot-9-but-it-was-null/1949989>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [July 25, 2024, 4:44pm UTC](https://forums.unrealengine.com/t/fatal-error-shader-requested-a-global-uniform-buffer-of-type-mobilebasepass-at-static-slot-name-scenetextures-slot-9-but-it-was-null/1949989 "2024-07-25T16:44:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PanxGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PanxGames](https://forums.unrealengine.com/u/PanxGames)\
**Post date:** [July 25, 2024, 4:44pm UTC](https://forums.unrealengine.com/t/fatal-error-shader-requested-a-global-uniform-buffer-of-type-mobilebasepass-at-static-slot-name-scenetextures-slot-9-but-it-was-null/1949989/1 "2024-07-25T16:44:39Z")

</div>

Hi,  
I’m trying to Android Mobile Preview on Editor my 5.3.2 project in 5.4.3, and it crashes always with

Fatal error: Shader requested a global uniform buffer of type ‘ **MobileBasePass** ’ at static slot ‘[Name: SceneTextures, Slot: 9]’, but it was null. The uniform buffer should be bound using RHICmdList.SetStaticUniformBuffers() or passed into an RDG pass using SHADER\_PARAMETER\_STRUCT\_REF() or SHADER\_PARAMETER\_RDG\_UNIFORM\_BUFFER()

This is a WaterPlugin Issue. Mobile Preview works fine only removing the WaterBodyOcean and the WaterZone

Someone can help with this?  
Thanks!

---

<div class="post-metadata">

**Author:** ![PanxGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PanxGames](https://forums.unrealengine.com/u/PanxGames)\
**Post date:** [July 25, 2024, 4:52pm UTC](https://forums.unrealengine.com/t/fatal-error-shader-requested-a-global-uniform-buffer-of-type-mobilebasepass-at-static-slot-name-scenetextures-slot-9-but-it-was-null/1949989/2 "2024-07-25T16:52:20Z")

</div>

I Found a Work Around, that is to clear all other materials except Water Material.

 ![Captura de tela 2024-07-25 134915](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/e/a2e253e19c74a83e26990de266f01042dc5de845.png)

---

<div class="post-metadata">

**Author:** ![Robotek292](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Robotek292](https://forums.unrealengine.com/u/Robotek292)\
**Post date:** [September 22, 2024, 3:01am UTC](https://forums.unrealengine.com/t/fatal-error-shader-requested-a-global-uniform-buffer-of-type-mobilebasepass-at-static-slot-name-scenetextures-slot-9-but-it-was-null/1949989/3 "2024-09-22T03:01:53Z")

</div>

I had a same problem with water plugin, all i do was disabling forward shading and change Default RHI to DirectX12, it works for me.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/a/1babd388ba9019c16cf2d29110d5cdb49db8e0f0.png)
