Search Issue Tracker
Fixed in 5.3.7
Votes
0
Found in
5.3.4p4
Issue ID
807275
Regression
Yes
Dependencies of loading asset are not unloaded if UnloadUnusedAssets is called after LoadAssetAsync has finished loading asset
How to reproduce:
1. Open the attached project
2. Check AssetBundleBuilder.cs script and change BuildTarget platform to yours
3. Build AssetBundles (Assets -> Build AssetBundles)
4. Open and play Main scene
5. Check the console and notice warning "The referenced script on this Behaviour is missing!" and error "GameObject (named 'Test') references runtime script in scene file. Fixing!"
Additional note about user experience: We've also seen something similar happen in other projects where there's no error, but UnloadUnusedAssets unloads things that have just been loaded (in flight async load), and they get re-loaded synchronously when accessing them (e.g.AssetBundleRequest.asset) for the first time
Not reproducible: 5.3.3f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Add comment