Unity Issue Tracker - Crash on WindowsVideoMedia::GetFirstReadyTextureTime when focusing GameObject in Tutorial
Fixed
UUM-21948
Crash on WindowsVideoMedia::GetFirstReadyTextureTime when focusing GameObject in Tutorial
Unity: Video
Fixed
2023.2.X
2023.1.X
2022.2.X
2021.3.X
2021.3.15f1 onwards
2020.3.X
Won't Fix
2022.1.X
Serialized access to thread-unsafe texture containers used from multiple threads when handling looping during playback.
Serialized access to thread-unsafe texture containers used from multiple threads when handling looping during playback.
Fixed Serialized access to thread-unsafe texture containers used from multiple threads when handling looping during playback.
Will be fixed in 2022.2
Fixed Serialized access to thread-unsafe texture containers used from multiple threads when handling looping during playback.
Fixed serialized access to thread-unsafe texture containers used from multiple threads when handling looping during playback.
How to reproduce:
1. Open and create project with the "2D Platformer Microgame" sample
2. Enter and continue with the ""Change Color" Tutorial
3. When prompted, select "Player" in the Hierarchy and click and hold "F" on your keyboard for about 10 seconds
Reproducible with: 2021.3.16f1
Not reproducible with: 2020.3.43f1, 2021.3.15f1
Couldn't test with: 2022.1.24f1, 2022.2.2f1, 2023.1.0a25 (No template to test with)
Tested on: Windows 11
Note: Issue reproduces around half of the time, sometimes crashes without stack trace
First lines of the stack trace:
0x00007ff67eb1a591 (Unity) WindowsVideoMedia::GetFirstReadyTextureTime
0x00007ff67fb125c6 (Unity) VideoMediaTextureOutput::ConsumeFrame
0x00007ff67eb02ec5 (Unity) VideoClipPlayback::GetTextureAtTimeInternal
0x00007ff67eb08f31 (Unity) VideoPlayback::GetTexture
0x00007ff67eaff17d (Unity) VideoPlayer::VideoUpdate
0x00007ff67eafefce (Unity) VideoManager::VideoUpdate
Prioritise and Follow this issue
Have a workaround or additional info about this issue?