Search Issue Tracker
Fixed in 2022.2.X
Duplicate in 2020.3.X, 2021.3.X
Votes
0
Found in
2019.4
2019.4.33f1
2020.3
2021.2
2022.1
Issue ID
1388735
Regression
No
"Can't play movie" error is thrown when setting VideoPlayer.url to an invalid url through a script
Reproduction steps:
1. Open attached project "Case_1388735" and load Scene "SampleScene"
2. Enter Play Mode
3. Observe the Console
Expected result: No errors are thrown in the Console
Actual result: "Can't play movie" error is thrown in the Console
Reproducible with: 2019.4.34f1, 2020.3.25f1, 2021.2.7f1, 2022.1.0b2
Notes:
- Setting the VideoPlayer url in the Inspector to an invalid url does not reproduce the issue
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note (fix version 2022.2):
Fixed in 2023.1.0a5
Reworked validation and error reporting when setting URL via scripting. Errors will now only be reported when trying and failing to play the URL.