# Packaged game - Missing global shader FUpsampleCS's permutation 0

**URL:** <https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [June 15, 2024, 10:31am UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025 "2024-06-15T10:31:23Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![STrike3Ds](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@STrike3Ds](https://forums.unrealengine.com/u/STrike3Ds)\
**Post date:** [June 15, 2024, 10:31am UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/1 "2024-06-15T10:31:23Z")

</div>

Hi there. I upgraded my project from UE 5.3.2 to UE 5.4.2. Packaging is going fine with only 1 error - UATHelper: Packaging (Windows): /Engine/Generated/Material.ush:3338:5: error: use of undeclared identifier ‘View\_TemporalAAParams’

Trying to open the packaged game throws this - Missing global shader FUpsampleCS’s permutation 0.

Any ideea please?

---

<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 15, 2024, 12:41pm UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/2 "2024-06-15T12:41:18Z")

</div>

Perhaps some shaders internal code changed between the versions. Try deleting the intermediate & deriveddatacache folder from your project to let unreal regenerate the shaders.

Then try repackaging.

View\_TemporalAAParams is in the older documentations but is missing from newer versions of the docs.

---

<div class="post-metadata">

**Author:** ![STrike3Ds](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@STrike3Ds](https://forums.unrealengine.com/u/STrike3Ds)\
**Post date:** [June 15, 2024, 9:19pm UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/3 "2024-06-15T21:19:52Z")

</div>

Thank you very much for trying to help me out. Already deleted everything and tried that solution, it did not work still getting the same.

---

<div class="post-metadata">

**Author:** ![Sparhawk221](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sparhawk221](https://forums.unrealengine.com/u/Sparhawk221)\
**Post date:** [June 16, 2024, 2:21pm UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/4 "2024-06-16T14:21:57Z")

</div>

I have the same problem after transitioning my project from 5.2.1 to 5.4.2. The build completes without issues, but when I try to run the game, I get the error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 9367] Missing global shader FUpsampleCS’s permutation 0, Please make sure cooking was successful.

I’ve tried various methods, but nothing has worked so far.

1. I went through all the maps and re-saved materials that had warnings.
2. Tried recompileshaders all and build, but it didn’t help.
3. Deleted the Save, Intermediate, and DerivedDataCache folders and ran recompileshaders all again.
4. Updated the graphics drivers and repeated all previous steps.

I’m still don’t know how to resolve the problem.

---

<div class="post-metadata">

**Author:** ![STrike3Ds](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@STrike3Ds](https://forums.unrealengine.com/u/STrike3Ds)\
**Post date:** [June 16, 2024, 2:55pm UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/5 "2024-06-16T14:55:13Z")

</div>

So happy i am not the only one. Maybe someone will come up with an idea, i also tried a few things from what you tried. Out of ideas at this moment.

---

<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 16, 2024, 3:45pm UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/6 "2024-06-16T15:45:51Z")

</div>

> [@Sparhawk221](#):
>
> FUpsampleCS

Are you using any of the plugins of NNERuntime?  
To be more specific: NNERuntimeRDG.  
It seems invoke the use of the mentioned shader FUpsampleCS.

If you have it turned on and don’t use it then try disabling the plugin and packing the project again.

The error mentions permutation0 missing. Perhaps enabling “Force all shader permutation support” in packing could enforce it’s compilation if the plugin is necessary.

---

<div class="post-metadata">

**Author:** ![Sparhawk221](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sparhawk221](https://forums.unrealengine.com/u/Sparhawk221)\
**Post date:** [June 16, 2024, 5:11pm UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/7 "2024-06-16T17:11:01Z")

</div>

Hi,

Thank you for your response. I am not using the `NNERuntimeRDG` plugin or any other `NNERuntime`.

I tried enabling the “Force all shader permutation support” option and did a new build. Unfortunately, I am still encountering the same error:

```auto
Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 9367]
Missing global shader FUpsampleCS's permutation 0, Please make sure cooking was successful.

```

Could this error be caused by something else? Do you have any other ideas on how to investigate and resolve this issue?

Thank you for your help!

---

<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 16, 2024, 5:37pm UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/8 "2024-06-16T17:37:09Z")

</div>

Do you have “cook on the fly” turned on? If so try it with the option turned off.  
Is shader model 6 turn on? (SM6)

Perhaps try turning on `NNERuntimeRDG` maybe one of the plugin’s you are using is somehow interdependent with it? (if you are using any)

Another possibility:  
run `recompileshaders all` from the command line. Perhaps it will force the compilation of the missing shader. Though I’ve heard it can cause freezes.  
Some people mention to run `recompileshaders changed` to mitigate the freeze. If the missing shader is seen as changed it should compile

Also this post seems to stumble upon a similar problem

> [@\[Solved\] Packaging own global shader failing \[4.22.3\]](https://forums.unrealengine.com/t/solved-packaging-own-global-shader-failing-4-22-3/132712/2):
>
> As it turns out, due to some project rearrangement there was another copy of the FWriteSliceToTextureShader and its WriteSliceToTextureShader.usf file in the project in another module. This seems to confuse the shader compiler or the UBT, not sure… bottom line, renaming one of them made it work - hope this helps someone else…

Though I’m not a 100% sure it is the same scenario.

---

<div class="post-metadata">

**Author:** ![Sparhawk221](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sparhawk221](https://forums.unrealengine.com/u/Sparhawk221)\
**Post date:** [June 16, 2024, 6:43pm UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/9 "2024-06-16T18:43:18Z")

</div>

@3dRaven You are a god! I took the backup of the project in version 5.2.1 and did the conversion to 5.4.2 again. I directly copied the plugins to the project folder before the first launch. Then I launched the project, enabled NNERuntimeRDG, and tested the build. To my surprise, the game works, and the FPS have significantly improved. I don’t know how to thank you. It’s fantastic.

@STrike3Ds I would also recommend trying to do the conversion to 5.4 again if you have any previous backup of the project.

---

<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 16, 2024, 6:49pm UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/10 "2024-06-16T18:49:40Z")

</div>

Do you have machine learning mesh deformation on by any chance? This could use unreal’s NNE engine plugin (short for Neural Net Engine). The RDG version seems to use GPU acceleration so that’s probably why there could be a performance jump.

> **[Animation Workflow Guides and Examples in Unreal Engine | Unreal Engine 5.4...](https://dev.epicgames.com/documentation/en-us/unreal-engine/using-the-machine-learning-deformer-in-unreal-engine?application_version=5.0)**
>
> Collection of workflow examples and How To guides for Animation features in Unreal Engine.

Anyway I’m glad you were able to package the project. Though it would be better to pinpoint the reason the plugin is strictly needed in this case.

---

<div class="post-metadata">

**Author:** ![Sparhawk221](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sparhawk221](https://forums.unrealengine.com/u/Sparhawk221)\
**Post date:** [June 16, 2024, 6:56pm UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/11 "2024-06-16T18:56:11Z")

</div>

Yes, I have the ML Deformer framework enabled. That might be the reason.

---

<div class="post-metadata">

**Author:** ![STrike3Ds](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@STrike3Ds](https://forums.unrealengine.com/u/STrike3Ds)\
**Post date:** [June 16, 2024, 6:59pm UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/12 "2024-06-16T18:59:07Z")

</div>

> [@Sparhawk221](#):
>
> ML Deformer framework

I also use ML Deformer framework.

Turning on NNERuntimeRDG fixes the problem and package is ok, game runs without problems.

Thank you so very much @3dRaven for taking the time to help us out. Now i can continue with the project.

---

<div class="post-metadata">

**Author:** ![SensiN23](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SensiN23](https://forums.unrealengine.com/u/SensiN23)\
**Post date:** [June 17, 2024, 4:03pm UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/13 "2024-06-17T16:03:50Z")

</div>

Enabling the “NNERuntimeRDG” plugin did the trick for me as well (still not sure where is the dependency as of now).  
Thank you @3dRaven🙂

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 17, 2024, 4:04pm UTC](https://forums.unrealengine.com/t/packaged-game-missing-global-shader-fupsamplecss-permutation-0/1904025/14 "2024-07-17T16:04:45Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
