# UE4 Crashes on Set Media Player from Construct Media Texture

**URL:** <https://forums.unrealengine.com/t/ue4-crashes-on-set-media-player-from-construct-media-texture/492872>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [February 1, 2022, 3:01am UTC](https://forums.unrealengine.com/t/ue4-crashes-on-set-media-player-from-construct-media-texture/492872 "2022-02-01T03:01:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tenchu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tenchu](https://forums.unrealengine.com/u/Tenchu)\
**Post date:** [February 1, 2022, 3:01am UTC](https://forums.unrealengine.com/t/ue4-crashes-on-set-media-player-from-construct-media-texture/492872/1 "2022-02-01T03:01:13Z")

</div>

Hi there !

I’m trying to get multiple videos running on two different instances of a same blueprint actor.

I have successfully created static MediaPlayer, MediaSource, MediaTexture and Material assets to display a video, although I need to create them all at runtime.

Everything works, except when it comes to binding the MediaPlayer to the MediaTexture, causing UE4 to crash.

Here is a half functioning blueprint, using the MediaTexture with a default Texture (generated by UE4 when creating the Media Player) works, but all the blueprint instance share this texture, therefore they all display the same video

 ![Screenshot 2022-01-31 212733](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/c/4ece2e95ac268da845e7e486b4b1c996d122e4fb.jpeg)

When I try to create the Media Texture at runtime and use Set Media Player, then it causes the crash.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/8/cb815573a0432a83a676326b1731658b8d189b49.png)

- I tried setting up the player and then opening the source, in vain.
- I also tried to create the MediaTexture in the Construction Script and then use it, same effect.

Any ideas ?

---

<div class="post-metadata">

**Author:** ![Tenchu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tenchu](https://forums.unrealengine.com/u/Tenchu)\
**Post date:** [February 1, 2022, 7:39pm UTC](https://forums.unrealengine.com/t/ue4-crashes-on-set-media-player-from-construct-media-texture/492872/2 "2022-02-01T19:39:32Z")

</div>

Well I downgraded my UE4 to 4.23.1 and the exact same BluePrint works properly.

---

<div class="post-metadata">

**Author:** ![nolwenn\_bigoin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nolwenn\_bigoin](https://forums.unrealengine.com/u/nolwenn_bigoin)\
**Post date:** [July 11, 2022, 3:42pm UTC](https://forums.unrealengine.com/t/ue4-crashes-on-set-media-player-from-construct-media-texture/492872/3 "2022-07-11T15:42:45Z")

</div>

Hello,  
I have exactly the same problem as you.  
I’m on 4.27, and I can’t downgrade.  
Did you, or anyone else, find a solution on a more recent version than 4.23 ?  
Thanks

---

<div class="post-metadata">

**Author:** ![UnrealSolver](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unrealsolver/32/1194693_2.png) [@UnrealSolver](https://forums.unrealengine.com/u/UnrealSolver)\
**Post date:** [March 19, 2023, 1:45pm UTC](https://forums.unrealengine.com/t/ue4-crashes-on-set-media-player-from-construct-media-texture/492872/4 "2023-03-19T13:45:20Z")

</div>

Interesting, I was trying to find a possibility to dynamically creade Media Players and Media Textures so I can make a preview list of Videos in a Folder, unfortunately UE crashes whenever trying to construct objects from class (I think it’s the Media Player that crashes on construct?)

Also don’t feel like wanting to downgrade for many reasons but the issue is annoying, I have to hard-code it and create as many Media Players and respective Textures as many previews I want to make…

The bad thing it’s not only for preview but also adding movies as “stickers”, this issue limits the amount of them ☹

---

<div class="post-metadata">

**Author:** ![HISPlayerUnreal](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hisplayerunreal/32/712778_2.png) [@HISPlayerUnreal](https://forums.unrealengine.com/u/HISPlayerUnreal)\
**Post date:** [April 26, 2023, 10:22am UTC](https://forums.unrealengine.com/t/ue4-crashes-on-set-media-player-from-construct-media-texture/492872/5 "2023-04-26T10:22:12Z")

</div>

Have you tried with [HISPlayer](https://forums.unrealengine.com/t/hisplayer-http-live-streaming-hls-and-dash-video-streaming-plugin-for-unreal-engine-games-and-metaverse/1135877) media player plugin? It supports HLS and DASH streaming formats.
