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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
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.