# Failed to find shader map for WorldGridMaterial

**URL:** <https://forums.unrealengine.com/t/failed-to-find-shader-map-for-worldgridmaterial/468449>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, packaging-projects, question\
**Created:** [July 21, 2020, 9:28am UTC](https://forums.unrealengine.com/t/failed-to-find-shader-map-for-worldgridmaterial/468449 "2020-07-21T09:28:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0a490e5d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0a490e5d](https://forums.unrealengine.com/u/anonymous_user_0a490e5d)\
**Post date:** [July 21, 2020, 9:28am UTC](https://forums.unrealengine.com/t/failed-to-find-shader-map-for-worldgridmaterial/468449/1 "2020-07-21T09:28:27Z")

</div>

Im trying to package the third person game which is a template game of engine.Everything is fine during Packaging.But when I try to run the .exe file,a fatal error occurs:  
Failed to find shader map for WorldGridMaterial,Please make sure cooking was successful( contains inline shaders, has GTSM)  
My engine version is 4.25.0 of source code.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0a490e5d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0a490e5d](https://forums.unrealengine.com/u/anonymous_user_0a490e5d)\
**Post date:** [July 22, 2020, 2:01pm UTC](https://forums.unrealengine.com/t/failed-to-find-shader-map-for-worldgridmaterial/468449/2 "2020-07-22T14:01:06Z")

</div>

The TargetPlatform is WindowsNoEditor and the build configuration is Shipping.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0a490e5d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0a490e5d](https://forums.unrealengine.com/u/anonymous_user_0a490e5d)\
**Post date:** [July 22, 2020, 2:01pm UTC](https://forums.unrealengine.com/t/failed-to-find-shader-map-for-worldgridmaterial/468449/3 "2020-07-22T14:01:15Z")

</div>

The TargetPlatform is WindowsNoEditor and the build configuration is Shipping.I have trace the debugging code and find a fact that It is normal to be failed according to the source code(function FMaterial::CacheShaders() in MaterialShared.cpp)

---

<div class="post-metadata">

**Author:** ![Djelom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Djelom](https://forums.unrealengine.com/u/Djelom)\
**Post date:** [December 16, 2020, 7:05pm UTC](https://forums.unrealengine.com/t/failed-to-find-shader-map-for-worldgridmaterial/468449/4 "2020-12-16T19:05:01Z")

</div>

did you figure out what caused this issue?

---

<div class="post-metadata">

**Author:** ![HaloFang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HaloFang](https://forums.unrealengine.com/u/HaloFang)\
**Post date:** [March 3, 2021, 10:06am UTC](https://forums.unrealengine.com/t/failed-to-find-shader-map-for-worldgridmaterial/468449/5 "2021-03-03T10:06:20Z")

</div>

i have the issue too,anybody have figured out?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2fb2d2d0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2fb2d2d0](https://forums.unrealengine.com/u/anonymous_user_2fb2d2d0)\
**Post date:** [April 27, 2021, 6:58pm UTC](https://forums.unrealengine.com/t/failed-to-find-shader-map-for-worldgridmaterial/468449/6 "2021-04-27T18:58:20Z")

</div>

I fixed it on Unreal 4.26.2

`project settings` → `platforms` → `your platform's material quality`, turn OFF `Discard Quality During Cook`.

I hope it works fo you too. Good luck!

 ![337316-screen-shot-2021-04-27-at-115029-am.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/0/30000c6a73399908dc14d40f35d89dc9b0c1cd1e.png)

---

<div class="post-metadata">

**Author:** ![ANURAGX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ANURAGX](https://forums.unrealengine.com/u/ANURAGX)\
**Post date:** [September 21, 2021, 5:33am UTC](https://forums.unrealengine.com/t/failed-to-find-shader-map-for-worldgridmaterial/468449/7 "2021-09-21T05:33:22Z")

</div>

This issue is present every where.  
4.26.2, 4.27, UE5\_EarlyAccess, UE5\_Main.  
I have used all above branches of engine and never got the success launch of my Android Game.

 ![349039-untitled.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/e/5ee6c41ed848377fe929901741db03df7e7dfb56.png)
