Video preview in the Inspector freezes shortly after the first play and does not recover until paused and replayed
Unity: Video
Open
6.7.X
6.6.X
6.5.X
6.4.X
6.3.X
Steps to reproduce:
Create a new 3D URP project
Import the attached "mov_title.mp4" into the project
From the Project window, select the "mov_title.mp4" asset
In the Inspector, click on the play icon to start video playback in the preview
Observe the preview
Pause and play the preview again
Actual results: On the first play, playback freezes almost instantly after starting and doesn't continue playing. Pausing and playing again resumes normal playback
Expected results: The preview plays back smoothly on the first play, with no freeze and no warnings
Reproducible with versions: 6000.3.0a1, 6000.3.17f1, 6000.4.11f1, 6000.5.0b12, 6000.6.0a6
Tested on (OS): Windows 11
Notes:
After searching for bisection the issue started not reproducing anymore; therefore, I'm not sure if all versions are correct. On 6000.3.0a2 the reproduction seemed inconsistent and only reproduced after asset reimport
Trigger is a freshly-prepared preview: reproduces on initial import and on manual reimport
Could not record proper reproduction video because it seems that video recording software intervenes and prevents the issue from reproducing
On some instances, the following are also logged during the freeze:
WindowsVideoTextureOutput: Shared D3D12 resource not ready.
d3d12: Attempting to bind a NULL or empty texture. Perhaps the texture contains no image data or has an invalid size
Prioritise and Follow this issue
Have a workaround or additional info about this issue?