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…
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
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 !
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.