userlamalovecancel
branchrust_reboot/main/async_loadingcancel

18 Commits over 30 Days - 0.03cph!

2 Years Ago
Add global.asyncWarmup as a convar for client too Defaults to true but when set to false it will turn off running asset warmup in the background and will add it back to the loading screen using the old logic Will only fully work if set on the command line
2 Years Ago
Don't use async asset loading when spawning world with preloadConcurrency set to 1
2 Years Ago
Change monument unloading threshold to 24GB of RAM Call UnloadUnusedAssets even if we don't unload monuments, just in case
2 Years Ago
Add server-only convar global.asyncWarmup to enable the async asset loader for asset warmup (default true, except on linux) Should revert to the old logic by default on Linux to improve server boot times
2 Years Ago
Don't run the preprocess step on the client unless the loading screen is open to avoid stuttering Actually fix asset warmup exiting before preprocess is called for all the assets
2 Years Ago
Reduce the frequency of asset warmup messages being printed in the server log
2 Years Ago
Exclude assets/scenes/prefabs/ and assets/content/structures/ from asset warmup since they would be required when spawning the world
2 Years Ago
Dynamically adjust the frame budget for asset warmup depending on if the loading screen is open Split convars so global.warmupConcurrency will only affect asset warmup (and halved it)
2 Years Ago
Disable unloading the monument bundle when the client has 16GB or more RAM for faster server joins the second time around Set global.forceUnloadBundles to true if you want them unloaded anyway Also fixes the server not unloading the bundle on this branch
2 Years Ago
Reduce asset warmup spam in server log
2 Years Ago
Fix asset warmup not actually running for non-poolable assets Sort the asset list before starting async loading
2 Years Ago
Run asset warmup with a higher priority for poolable assets so prewarming the pools doesn't need to wait as much
2 Years Ago
Fix asset warmup loading but not preprocessing the last few prefabs in the list Max out backgroundLoadingPriority for dedicated servers since they have no load screen
2 Years Ago
Start asset warmup in the background as soon as the main menu is ready
2 Years Ago
Run asset warmup in the background with a relatively low frame budget Prioritize loading prefabs needed to spawn the world when loading Automatically adjust backgroundLoadingPriority when the loading screen is shown/hidden
2 Years Ago
Load prefabs in the background while spawning world
2 Years Ago
Preprocess prefabs on the main thread while loading continues in the background Implement AssetDatabase backend
2 Years Ago
Experimenting with async loading things from bundles