#Implement Unity Asset Unloading when changing maps (scene)

1 messages · Page 1 of 1 (latest)

stark cypress
#

I have been playing since the playtest and this is still not fixed. We all know that this game can run on almost any PC with decent specs. In my case I own a 3GB VRAM card which is kinda ok but when I play battlebit, after a few maps, everything start to get kinda laggy when my GPU hits 3GB of VRAM (fps drop to 70 from 120)

So my suggestion is make use of the Resources.UnloadUnusedAssets that Unity offers to prevent things like this happen.

The main menu uses like 1.8GB of VRAM and every map uses like ~200-300MB of VRAM + Player Objects and other objects like destruction.

Valheim implements this and it cleans the unused assets every 20 minutes (See pic)

This is more like a bug report but I don't want this message to get lost among the other messages.

#

This is also a big problem for Linux NVIDIA users because for some reason NVIDIA drivers can't make use of system memory to exchange memory when the VRAM is about to get filled.

latent bramble
#

Ask brother, from your perspective, how difficult is it to learn the game code, at least for you?

latent bramble
stark cypress
latent bramble
merry thicket
stark cypress
# merry thicket Appreciate the intend however this is not a solution + battlebit heavily utilize...

Thanks. but there is a possibility to add that settings to the graphics settings of the game? (To only unload the map and not other objects). I always had to restart the game because of this to get proper FPS after some matches.
The game is not so heavy like other games that use like 20GiB of disk space

And side note, could you enable native vulkan support? This is beneficial for Steam Deck (and people that want to use Vulkan instead of DirectX) since they don't have to rely on DXVK (A translation layer that converts DirectX to Vulkan. This because DirectX is only available in Windows).
There is no need to make an option on the graphics menu, people can enable Vulkan using -force-vulkan in the game arguments to launch the game using Vulkan instead of DirectX

green depot