# Composure not working in package game

**URL:** <https://forums.unrealengine.com/t/composure-not-working-in-package-game/464368>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, packaging-projects, question\
**Created:** [April 28, 2020, 10:17am UTC](https://forums.unrealengine.com/t/composure-not-working-in-package-game/464368 "2020-04-28T10:17:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![CloudWEI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CloudWEI](https://forums.unrealengine.com/u/CloudWEI)\
**Post date:** [April 28, 2020, 10:17am UTC](https://forums.unrealengine.com/t/composure-not-working-in-package-game/464368/1 "2020-04-28T10:17:31Z")

</div>

My composure output is a render target2D,and then create a material by it.

I give this material to a plane, and it works well in editor, but failed after packaging.

Am I wrong in package setting? Or maybe composure can only run in editor, not in packaging game?

Appreciate any help.

Picture 1 : when play in editor

 ![300760-pie.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/2/262d2c541f116a67c25e8f55b4a6580c90b3053f.png)

Picture 2 :when play in package game

 ![300781-packinggame.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/6/7f6d732c7cc74f902419f927f967ed7c3821f640.jpeg)

---

<div class="post-metadata">

**Author:** ![AdrianTabacaru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AdrianTabacaru](https://forums.unrealengine.com/u/AdrianTabacaru)\
**Post date:** [May 14, 2020, 3:15am UTC](https://forums.unrealengine.com/t/composure-not-working-in-package-game/464368/2 "2020-05-14T03:15:16Z")

</div>

Hey did you find a workaround with this?  
I have the same problem 🙂

---

<div class="post-metadata">

**Author:** ![CloudWEI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CloudWEI](https://forums.unrealengine.com/u/CloudWEI)\
**Post date:** [May 19, 2020, 7:28pm UTC](https://forums.unrealengine.com/t/composure-not-working-in-package-game/464368/3 "2020-05-19T19:28:32Z")

</div>

I am sorry to tell you that I didn’t work out this problem.  
However, I copied the code of “Chroma Key Material” which is in composure detail panel, and then pasted them in my custom material.  
It worked in package game, but I don’t think it is the best way to resolve this problem.  
So sad…

---

<div class="post-metadata">

**Author:** ![OnlyDrinkWater](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OnlyDrinkWater](https://forums.unrealengine.com/u/OnlyDrinkWater)\
**Post date:** [July 4, 2020, 12:25pm UTC](https://forums.unrealengine.com/t/composure-not-working-in-package-game/464368/4 "2020-07-04T12:25:28Z")

</div>

same problem 🙂

---

<div class="post-metadata">

**Author:** ![christianstamati](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christianstamati](https://forums.unrealengine.com/u/christianstamati)\
**Post date:** [July 22, 2020, 2:06pm UTC](https://forums.unrealengine.com/t/composure-not-working-in-package-game/464368/5 "2020-07-22T14:06:40Z")

</div>

Hi,  
I have a simple Media Player and is receiving video feed from camera via HDMI, On Begin Play in the Level Blueprint I open the Media Player and play. If I create a plane and apply the material it works. The problem is that when I click play composure is not working in play mode but in the Preview com I can see that it’s working… Could you help me? I’m new to this and I need to go in play mode to get the data from vive tracker.  
Here’s a quick video: [- YouTube](https://www.youtube.com/watch?v=pUFXUs9juKE)

---

<div class="post-metadata">

**Author:** ![OnlyDrinkWater](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OnlyDrinkWater](https://forums.unrealengine.com/u/OnlyDrinkWater)\
**Post date:** [July 23, 2020, 4:23am UTC](https://forums.unrealengine.com/t/composure-not-working-in-package-game/464368/6 "2020-07-23T04:23:56Z")

</div>

Have you choose the correct output in the composure? Like render a 2D asset, add to viewport

---

<div class="post-metadata">

**Author:** ![amin\_salehkho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@amin\_salehkho](https://forums.unrealengine.com/u/amin_salehkho)\
**Post date:** [August 6, 2020, 7:37am UTC](https://forums.unrealengine.com/t/composure-not-working-in-package-game/464368/7 "2020-08-06T07:37:50Z")

</div>

assertion failed: !FUObjectThreadContext::Get().IsRoutingPostLoad [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/CoreUObject/Private/UObject/ScriptCore.cpp] [Line: 1755] Cannot call UnrealScript (MediaTextureCompositingInput /Composure/Blueprints/CompositingElements/BP\_MediaPlateCompElement.Default\_\_BP\_MediaPlateCompElement\_C:MediaTextureCompositingInput\_0 - Function /Script/Composure.CompositingElementPass:Reset) while PostLoading objects Unhandled Exception: 0xf5b82d90 0x00007ff8d8fd9709 UnknownFunction []

this is error when run it in instants

---

<div class="post-metadata">

**Author:** ![basknappers](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@basknappers](https://forums.unrealengine.com/u/basknappers)\
**Post date:** [August 3, 2022, 3:03pm UTC](https://forums.unrealengine.com/t/composure-not-working-in-package-game/464368/8 "2022-08-03T15:03:56Z")

</div>

Hi All,

This problem actually kept my head going for a few days but eventually found a workaround.

In my case this error kept appearing: Error: Couldn’t find file for package /Composure/Materials/Output/M\_TextureCopy requested by async loading code. NameToLoad:

it seems that originally the M\_TextureCopy is not used and therefore not getting cooked but in reality this texture is very much needed.

So to make sure it gets cooked i applied this texture on a cube somewhere in the scene and now my render target is not black anymore i hope it helps !

---

<div class="post-metadata">

**Author:** ![GrantWilk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/grantwilk/32/559424_2.png) [@GrantWilk](https://forums.unrealengine.com/u/GrantWilk)\
**Post date:** [August 9, 2022, 12:51am UTC](https://forums.unrealengine.com/t/composure-not-working-in-package-game/464368/9 "2022-08-09T00:51:10Z")

</div>

Thank you @basknappers!

To build off of your solution, you can add the directory `/Composure/Materials` to Project Settings \> Project \> Packaging \> Additional Asset Directories to Cook. This way, you don’t have to have a silly cube laying around.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/a/daa86c42221eb888c4b99e9b4c2c273abc560103.png)

Assuming this is a bug, so I did file a bug report. Kinda new to this though, so I’m not sure where it went after I submitted 😅
