Search Issue Tracker
Scene Async Load Is Not Async [To be broken into smaller more specific tasks]
Loading a scene asynchronously doesn't appear to be asynchronous. This has been tested loading a scene with around 10,000 cubes both with textures and without textures. The textures have also been included in their own asset bundle (which was loaded asynchronously) and left to be pulled into the dependency list of the scene bundle.
It doesn't appear to matter if the textures are included in their own asset bundles or not. The time it takes to load the scene is roughly the same each time. However, each time the scene does hang for a second before loading the scene
1) Download the project from one of my comments below.
2) Open project, click Build -> Asset Bundles
3) Play the scene (load_scene if it's not open by default)
4) Click the load button
5) Watch the cube stop for a second before loading the new scene
You can change the textures in Large Textures to have their own asset bundle or not and change the loading code to load or not load the texture asset bundle.
Rendering - 27.0ms
Scripts - 34.5 ms
Textures in their own bundle:
Rendering - 27.6ms
Scripts - 33.9ms
This is a project I made based on the description since the original project link was dead. The steps should still be the same.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Lightmaps are baked incorrectly for GameObjects when their Position is <=-2048 or >=2048 on any of the coordinates
- Sahder errors in Player when "Strict shader variant matching" is enabled and the rendering path is set to "Deferred"
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached