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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
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.