userFlaviencancel

8,126 Commits over 1,004 Days - 0.34cph!

6 Days Ago
Regenerated NotoSansCJKsc-Bold SDF to extended ascii only, CJK is covered by other fonts already
6 Days Ago
Fixed duped NotoSans fonts used for apartment mailboxes and doors Apartment complex S2P
6 Days Ago
Restored TMP missing font log warning on the client
6 Days Ago
Restored TMP missing font log warning on the client
6 Days Ago
merge from skinviewer_bg_fix
6 Days Ago
Fixed skin viewer backgrounds compression
6 Days Ago
merge from skinsmemory_optims
6 Days Ago
Cherrypicked 167938 "Fixed invis or disconnected players blocking halloween candy spawning"
6 Days Ago
merge from egghunt_spawning_fix
6 Days Ago
Fixed invis or disconnected players blocking halloween candy spawning
6 Days Ago
merge from pendingnotice_fix
6 Days Ago
Fixed pending item notice error (shows up when buying something from the marketplace terminal)
6 Days Ago
Fixed bootstrap non interactable modal
6 Days Ago
merge from fonts_optims
6 Days Ago
Fixed missing font server log
6 Days Ago
Skin viewer uses mip 0 always
6 Days Ago
Attempt at making downloaded skins streamable like bundled skins Instead of uploading every mip to VRAM, we save the compressed mips RustNative builds to disk and let Unity stream them Needs our custom Unity because we can't make textures created by script streamable 13 skins downloaded, went from 210MB to 4.7MB VRAM (one skin in front of me at mip 0, same spot)
7 Days Ago
Workshop skin textures no longer keep a copy in RAM Downloaded skin textures were left readable, nothing used that copy 98MB -> 0MB RAM with 22 skins loaded ingame
7 Days Ago
merge from fonts_optims
7 Days Ago
Fixed our static font being set as readable The atlases are only in VRAM now, saves another ~42MB RAM
7 Days Ago
Fixed fonts duped in memory: - the interaction toast in bootstrap was using the non bootstrap version - TMP Settings was referencing Roboto which was pulling the entire chain Saves around ~60MB VRAM and ~30MB RAM
7 Days Ago
merge from buildingprivilege_cache
7 Days Ago
Fixed blocks registering with a 0 net id on the server when placed with the building plan
7 Days Ago
merge from main
7 Days Ago
merge from sendmouseevents_optim
7 Days Ago
Optimized PreUpdate.SendMouseEvents by clearing the main camera event mask, nothing uses OnMouse events Saves up to 0.08ms a frame in builds
7 Days Ago
Compile fix
7 Days Ago
merge from gunfiring_optims
7 Days Ago
Fixed holding a gun searching the whole inventory every frame for reload ammo types Holding a gun with a full inventory: 0.06ms -> ~0.01ms
7 Days Ago
merge from gunfiring_optims
7 Days Ago
Fixed issues from the far shot and shell replay changes
7 Days Ago
Stop muzzle flash light casting any shadows past 60 meters cause it's wasteful Added MaxShadowDistance to LightLOD, default 0 so existing lights aren't changed
7 Days Ago
Reviewed the 3P gun effects we spawn for distant shots: - Muzzle particles don't emit past 60m anymore, you only get the muzzle light and the sound - Shells aren't spawned past 15m Unchanged when using scopes and binoculars, the distances are stretched based on zoom scale
7 Days Ago
merge from main
7 Days Ago
Set all the gun firing effects warmed up amount accordingly Estimated +21MB vs main, still around -29MB overall after removing the 3900 useless thrown projectiles
7 Days Ago
Gun attack effects can now be recycled before their tail sound finishes, means we only have to warm up half the amount we'd need to
7 Days Ago
Added replayInPlace to EffectRecycle, lets us flag effects that can be replayed in place instead of popping and retiring a pooled copy every time Applied to AK first and 3rd person shell eject effects for now, ~0.13ms -> ~0.04ms per shot Also means we'll only have to prewarm a handful of shell particle prefabs for all the guns
7 Days Ago
merge from main
8 Days Ago
Fixed EffectParentToWeaponBone 128B alloc per effect spawn
8 Days Ago
When in first person, don't spawn effects with HideIfOwnerFirstPerson instead of spawning and hiding them right away Also fixed the 128B alloc in HideIfOwnerFirstPerson.OnEnable Saves 0.1ms when firing the AK
8 Days Ago
Reduced the amount of pooled pilot codelock 200 -> 25 Keylock 1 -> 50
8 Days Ago
Reduced the amount of pooled blowpipe dart projectiles 100 -> 4
8 Days Ago
Reduced the amount of pooled ballista projectiles 100 -> 3
8 Days Ago
merge from main
8 Days Ago
Reviewed the amount of bullet impacts and decals we prewarm - Rock, gravel, stones, metal ore and tundra impacts were only warmed with 1 copy, now 25 like the others. - Glass impact 25 -> 32, it stays alive for 4s+ - Bullet decals 25 -> 30, forest was set to 1, cactus lowered to 5
8 Days Ago
Prewarm 10 copies of each sound templates, they were all set to 1 small-sound gets 50 Trying to get to a point where I can empty an AK magazine without instantiating any prefab
8 Days Ago
Fixed all the references to the default unity Quad in particles not actually using it Any of these particle being set active in builds could spike up to 7ms, caused by ParticleSystemRenderer::UpdateCachedMesh walking the Quad whole user list to check whether its already registered It was referenced by thousands of renderers in monument prefabs, this is why the AK muzzle was slow to spawn in 167737
8 Days Ago
Stop HideIfAiming deactivating the muzzle flash once its particles finish. Every reused attack effect had to reactivate it Was spiking up to ~5-7ms in a build and only 0.2ms in editor somehow, now 0 It points at ParticleSystemRenderer::UpdateCachedMesh, checking that next
8 Days Ago
Keep sound template AudioSources enabled while pooled, disabling them on every recycle flushed unity's audio DSP, stalling up to ~1ms when a sound got cut mid play RecycleSound in editor: ~0.45ms -> ~0.25ms The occasional 1ms "flush dsp connections" is gone
8 Days Ago
Fixed quick craft spending ~1.6ms rebuilding after almost every shot (inventory update) Only rebuilds when the inventory is open now