# Electra Player Freeze Unexpectedly

**URL:** <https://forums.unrealengine.com/t/electra-player-freeze-unexpectedly/792769>\
**Category:** Virtual Production\
**Tags:** unreal-engine, crash\
**Created:** [March 17, 2023, 6:57am UTC](https://forums.unrealengine.com/t/electra-player-freeze-unexpectedly/792769 "2023-03-17T06:57:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PTCing](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PTCing](https://forums.unrealengine.com/u/PTCing)\
**Post date:** [March 17, 2023, 6:57am UTC](https://forums.unrealengine.com/t/electra-player-freeze-unexpectedly/792769/1 "2023-03-17T06:57:42Z")

</div>

Every times the game freeze, it will show **DoCloseAsyncI() did not complete in time**  
`Error: [000001FAD5C7DF50] DoCloseAsync() did not complete in time. Player may be dead and dangling!`

But it can be run for a period of time. And it will be freeze and show error unexpectedly.  
Anyone met same troubles?

Full Error Log

```auto
Subtitles last error: 

[2023.03.17-04.27.32:589][276]LogElectraPlayerPlugin: [000001FAD11E52C0] IMediaPlayer::Open: Options@000001FAD5E45B28
[2023.03.17-04.27.32:589][276]LogElectraPlayer: [000001FABF832320][000001FAD11F6090] IMediaPlayer::Open(file://C:/Users/User/Desktop/20230315bambiexe/ZEDSamples/Content/ZED/Assets/All Media/Video/Production Scene/s2.mp4)
[2023.03.17-04.27.32:589][276]LogElectraPlayerPlugin: [000001FAD11E52C0] IMediaControls::Seek() to +00:00:00.000
[2023.03.17-04.27.32:589][276]LogElectraPlayerPlugin: [000001FAD11E52C0] IMediaControls::SetRate(1.000000)
[2023.03.17-04.27.35:591][438]LogElectraPlayer: Error: [000001FAD5C7DF50] DoCloseAsync() did not complete in time. Player may be dead and dangling!
[2023.03.17-04.27.38:923][618]LogElectraPlayer: [000001FABF832320][000001FAD11F6090] IMediaPlayer::Close()
[2023.03.17-04.27.38:923][618]LogElectraPlayer: [000001FABF832320][000001FAD11F6090] Playback stopped. Last play position 0.000
[2023.03.17-04.27.38:923][618]LogElectraPlayer: [000001FABF832320][000001FAD11F6090] Electra player statistics:

```

---

<div class="post-metadata">

**Author:** ![PTCing](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PTCing](https://forums.unrealengine.com/u/PTCing)\
**Post date:** [March 20, 2023, 5:33am UTC](https://forums.unrealengine.com/t/electra-player-freeze-unexpectedly/792769/2 "2023-03-20T05:33:16Z")

</div>

Okay I solved the problem by the other way.  
Previously I open the media file every time we need, cause I have several individual media movie files.  
But I found the ram usage will get higher and higher when opening files every time.  
I think that’s the problem is, once the ram over some computer limit then it’ll freeze.

The solution for me:  
**Use 1 single full length video, and using SEEK function to jump to the timecode you would like to play.**  
Like spritesheet save ram for old game. This way can do the same thing.

---

<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, 8:53am UTC](https://forums.unrealengine.com/t/electra-player-freeze-unexpectedly/792769/3 "2023-04-26T08:53:18Z")

</div>

If you still face this issue please try [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.
