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
- Crash on mono_dump_native_crash_info when changing a Particle System Renderer’s Material Shader to Standard Unlit
- VFX Prefab doesn’t have Preview icon in Project window and Preview window is empty in Inspector window
- Visual Effect Graph error message does not disappear and lasts forever until the Visual Effect Graph is reopened even when the error causing connection/node is deleted and Visual Effect Graph is saved
- “RenderSettings customReflection texture has invalid type” error keeps getting thrown even when Environment Reflections was set back to Skybox from Custom with an invalid texture
- Particle System with the custom Material breaks the Scene view when the material is using a Shader Graph with the Texture with the power of negative value
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.