x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Media Textures & Materials won't generate dynamically in BP

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 alt text alt text

Product Version: UE 4.16
Tags:
untitled-2.png (157.2 kB)
capture.png (203.3 kB)
more ▼

asked Sep 07 '17 at 08:31 AM in Rendering

avatar image

Schnittbrot
219 2 5 7

avatar image vandijckv Mar 30 '19 at 02:51 PM

Hi Schnittbrot, I am a solution for a very similar problem. did you had any luck figuring it out and sharing it with me and the community?

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey Schnittbrot and anyone else having this problem, If you left click on the drop down in ("Your Material">Material Expression Texture Base>Sampler Type) you should see "External". Just select that and you should be good. Just on here looking for answers to my own issues thought I would help out....

more ▼

answered Jun 21 '18 at 08:31 PM

avatar image

DivineDevStudios
1 1 3

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question