branchrust_reboot/main/missionobjective_findentities_optimcancel
3 Commits over 0 Days - Infinitycph!
Fix some objectives searching on layers which are no good on the client
Fix MissionObjective_KillEntity missing set initialized flag
Fix MissionObjective_KillEntity showing both standard mission marker and ping marker together when pings are enabled
Fix WorldPositionGenerator potentially throwing a NRE in editor
Optimise mission objectives which dynamically update mission location to nearby target entities
- Use a defined layer mask which matches that which the target entity/s will be found on, was previously doing a physics cast on every layer
- Rework how entities are defined as valid for each objective to remove allocations
- Now run the location updates entirely clientside where possible, it is only used for UI things and doesn't need to be run serverside if a valid entity is in range
On our mission testing map brings serverside cost per 1s tick from ~0.4ms to ~0.07ms clientside and now garbage free