userJarryd Campicancel
branchrust_reboot/main/map_perf_improvements2cancel

9 Commits over 0 Days - ∞cph!

4 Months Ago
Merge from main
4 Months Ago
Move the update markers and previous life refresh process to happen 1s after the player dies, while the map is fading in rather than the instant the player receives their death RPC No real visual change but moves the heavy processing to after the player has visually died More thorough profiler coverage over the life infographic section
4 Months Ago
Merge from main
4 Months Ago
Fix incorrect information being passe to vending machine loot panel right after closing the map
4 Months Ago
Fix markers duplicating if the vending cluster is opened and closed too quickly
4 Months Ago
Merge from main
4 Months Ago
Fixed NRE when reopening a map with clustered vending machines
4 Months Ago
Merge from main (lots of branches with map changes, trying to keep conflicts to a minimum)
4 Months Ago
Reapplying changes from map_perf_improvements, the merge for that branch was too messy so I'll just reapply the changes with the new vending machine UI in mind The test scene for these changes is 4 clusters of 100 vending machines each, baseline takes 109ms with 3.1mb of GC to populate the map Don't spawn the child vending machine icons for the cluster icons, they're not used anymore so this saves a huge amount of instantiations (saves 2.5mb of allocations and 91ms) Convert the material params in MapView update into cached ints (saves 0.06ms every frame while map is open) Add a Poolable component to the ShopMarker and Shop marker cluster Fix the client side vending machine data not getting returned to the pool when a marker is populated Converted the drone marketplace map view to spawn the child vending machine markers on demand rather than when the map is opened and closed Final result: 6.56ms and 35.2kb of GC