Hey fellow devs!
My goal is to construct a full videoplayer when firing an event.
I am constructing a File Media Source, fill it with a path, construct a Media Player and a Media Texture.
Then I take a material with a texture parameter named “media”, create a dynamic material instance of it, set the constructed Media Texture as new Texture parameter and assign the Material to a static mesh.
Last but not least I assign the Media Texture to the Media Player and open a File that should be played.
The result is a gray material on my static mesh and a “LogUObjectGlobals:Warning: Failed to find object 'Class None.” in my Output Log.
Also when I try to convert the Texture Input of a Media Texture to a Texture Parameter I get the Error “Param2D> requires Texture2D”. Meaning that a Media Texture isn’t technically a Texture 2D and due to that won’t work as a parameter?
Maybe there is something very simple I just missed?
Kind Regards
Schnittbrot