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
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
- The build size is larger when Models have Animation Type set to Generic
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.