Search Issue Tracker
Fixed in 2020.2.X
Won't Fix in 5.6.X, 2017.1.X
Votes
34
Found in
5.6.2p1
2017.4
2018.4
2019.3
Issue ID
935529
Regression
No
Unloading an AssetBundle that contains a material causes a call to FindObjectsOfType
Steps to reproduce:
1. Open attached project
2. Open "Main" scene
3. Open profiler and select CPU usage section
4. Click "L" button to load the AssetBundle
5. Click "U" to unload the AssetBundle
- Inspect the profiler when unloading happened
Result: Unloading an AssetBundle that contains a material causes a call to FindObjectsOfType()
Problem: This could cause performance issues, especially with very large scenes with many objects
Expected result: The functionality of unloading AssetBundles should be optimised because calling FindObjectsOfType() would cause performance issues on large scenes.
Reproduced with: 5.6.2p4, 2017.1.0p1, 2017.2.0b3, 2017.3.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GfxDevice::UpdateBufferRanges when running UIBuilder tests
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
Add comment