# Why are my materials not rendering after updating to 4.25?  Any help is greatly appreciated.

**URL:** <https://forums.unrealengine.com/t/why-are-my-materials-not-rendering-after-updating-to-4-25-any-help-is-greatly-appreciated/466154>\
**Category:** Rendering\
**Tags:** UE4-25, unreal-engine, packaging-projects, Shaders, question\
**Created:** [June 2, 2020, 8:54pm UTC](https://forums.unrealengine.com/t/why-are-my-materials-not-rendering-after-updating-to-4-25-any-help-is-greatly-appreciated/466154 "2020-06-02T20:54:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SPF](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SPF](https://forums.unrealengine.com/u/SPF)\
**Post date:** [June 2, 2020, 8:54pm UTC](https://forums.unrealengine.com/t/why-are-my-materials-not-rendering-after-updating-to-4-25-any-help-is-greatly-appreciated/466154/1 "2020-06-02T20:54:29Z")

</div>

Hi Everyone,

Can anyone help me? After updating to 4.25, any materials located in separately mounted pak files are not rendering properly. I am only seeing the default material. Materials found in Content\Paks[myproject]-WindowsNoEditor.pak work no problem, but not those found in separately mounted pak files. Everything worked fine in 4.23.4 and all versions prior. Any help is great appreciated.

Here is the mount function I am using:

```
if (FCoreDelegates::OnMountPak.IsBound())
{
	// Mount pak
	FPakFileVisitor Visitor;
	if (FCoreDelegates::OnMountPak.Execute(PakPath, 4, &Visitor)) //0-4; specifies search order
	{
		UE_LOG(MyLog, Log, TEXT("Pak Mounted Correctly"));
	}
}

```

As a test, I mounted a pak file with 1 unique material named M\_TestMaterial. This works fine in 4.24.3 but I am guessing something changed in 4.25. Here is the error it generated:

LogShaders: Error: Missing shader resource for hash ‘CC82171EE3D12616F2284E1AE3F5E5B6373A9F22’ for shader platform 0 in the shader library

LogMaterial: Error: Tried to access an uncooked shader map ID in a cooked application

LogMaterial: Warning: Invalid shader map ID caching shaders for ‘M\_TestMaterial’, will use default material.

LogMaterial: Can’t compile M\_TestMaterial with cooked content, will use default material instead

LogMaterial: Warning: /Game/MyMaterials/M\_TestMaterial.M\_TestMaterial: Failed to compile Material for platform PCD3D\_SM5, Default Material will be used in game.

Thank you for your help

---

<div class="post-metadata">

**Author:** ![StijnSoulmade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StijnSoulmade](https://forums.unrealengine.com/u/StijnSoulmade)\
**Post date:** [June 12, 2020, 9:26am UTC](https://forums.unrealengine.com/t/why-are-my-materials-not-rendering-after-updating-to-4-25-any-help-is-greatly-appreciated/466154/2 "2020-06-12T09:26:13Z")

</div>

Hi SPF,

We were having the same issue and upgrading to version 4.25.1 resolved the issue for us.

Kind regards,  
Stijn

---

<div class="post-metadata">

**Author:** ![getyamamout](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@getyamamout](https://forums.unrealengine.com/u/getyamamout)\
**Post date:** [July 25, 2020, 2:34am UTC](https://forums.unrealengine.com/t/why-are-my-materials-not-rendering-after-updating-to-4-25-any-help-is-greatly-appreciated/466154/3 "2020-07-25T02:34:45Z")

</div>

Check textures are shared wrap

---

<div class="post-metadata">

**Author:** ![dhp11lhc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dhp11lhc](https://forums.unrealengine.com/u/dhp11lhc)\
**Post date:** [November 11, 2020, 12:23pm UTC](https://forums.unrealengine.com/t/why-are-my-materials-not-rendering-after-updating-to-4-25-any-help-is-greatly-appreciated/466154/4 "2020-11-11T12:23:42Z")

</div>

Hey, SPF.

Sorry to revive an old post with another question instead of an answer.

I’m currently having this exact issue with 4.25.4 - did you ever find a solution, or, if not, any further information that might help us both out?

–  
LHC

---

<div class="post-metadata">

**Author:** ![getyamamout](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@getyamamout](https://forums.unrealengine.com/u/getyamamout)\
**Post date:** [November 11, 2020, 1:02pm UTC](https://forums.unrealengine.com/t/why-are-my-materials-not-rendering-after-updating-to-4-25-any-help-is-greatly-appreciated/466154/5 "2020-11-11T13:02:29Z")

</div>

probably cant find the texture files anymore as link to file path probably gets broken in the upgrade? just my guess… i noticed with blueprints a different node needs to be used in different versions and changes need to be made to allow the same result from a previous version of the editor… in C++ maybe you need to switch a couple of lines to different wording to accomidate the changes made to the engine over the years.

---

<div class="post-metadata">

**Author:** ![maffew](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@maffew](https://forums.unrealengine.com/u/maffew)\
**Post date:** [March 30, 2021, 8:21am UTC](https://forums.unrealengine.com/t/why-are-my-materials-not-rendering-after-updating-to-4-25-any-help-is-greatly-appreciated/466154/6 "2021-03-30T08:21:18Z")

</div>

For anyone facing this problem, after a fortnight of searching I finally found the problem.  
If you are building an application and DLC pak’s that the base application will download, make sure that you **DESELECT** “Share Material Shader Code” in the packaging section of the project settings.

 ![334073-screenshot-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/e/caea03124c6332f4d44224067f4606262330c5fa.png)

---

<div class="post-metadata">

**Author:** ![Thoeme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thoeme](https://forums.unrealengine.com/u/Thoeme)\
**Post date:** [July 26, 2021, 12:11pm UTC](https://forums.unrealengine.com/t/why-are-my-materials-not-rendering-after-updating-to-4-25-any-help-is-greatly-appreciated/466154/7 "2021-07-26T12:11:27Z")

</div>

Many thanks has worked for me with 4.27!

---

<div class="post-metadata">

**Author:** ![pyskonus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pyskonus/32/485279_2.png) [@pyskonus](https://forums.unrealengine.com/u/pyskonus)\
**Post date:** [June 1, 2022, 6:04pm UTC](https://forums.unrealengine.com/t/why-are-my-materials-not-rendering-after-updating-to-4-25-any-help-is-greatly-appreciated/466154/8 "2022-06-01T18:04:47Z")

</div>

Me too! Thanks @maffew , I needed this a lot a few hours before my bachelor thesis is due)

---

<div class="post-metadata">

**Author:** ![moitajhonsons](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@moitajhonsons](https://forums.unrealengine.com/u/moitajhonsons)\
**Post date:** [December 20, 2024, 5:44pm UTC](https://forums.unrealengine.com/t/why-are-my-materials-not-rendering-after-updating-to-4-25-any-help-is-greatly-appreciated/466154/9 "2024-12-20T17:44:48Z")

</div>

Man, i love you. I spent 15 days too XD. TANK YOU!!!
