Search Issue Tracker
By Design
Votes
0
Found in
2018.1.0f1
Issue ID
1059085
Regression
No
Media becomes unavailable after unloading related Asset Bundle
In addition: on Mac, no errors are thrown when video loading fails
To reproduce:
1. Open user's attached project, scene "TestAtlasOnAssetBundle"
2. Enter Play mode and press "Load AB and Play"
3. Click "Unload AB", then "Reset Video Clip"
Expected: video clip is reset
Actual: console produces errors, unloaded media is no longer usable
Reproduced in: 2014.4.18f1, 2019.3.3f1, 2019.1.0a14, 2019.2.0a2
Note: if it's decided not to fix the issue, there's still need for tweaking on Mac's - no errors appear, as opposite to windows which throws console errors:
"Empty file: archive:"
"VideoPlayer cannot play clip:"
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
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
- Frame Debugger Target Selection Search Results window becomes too tiny to even see the default “Editor” selection when there are no search results
- Async method in Play Mode being aborted when calling `new System.Windows.Forms.Form`
- Animator window Eye button on click visual does not cover the whole area of the button when clicked
Resolution Note:
Video is streamed from the asset bundle itself and not fully loaded into memory. When you unload the asset bundle, you make streams no longer avaliable thus the error message. This applies to all content that streams from disk: Audio, Video, & Mipmap Streaming.