6 Years Ago
Flickering, generally buggy character vis was caused by CullVisibleCharacters also checking triggers - for instance the interaction trigger capsule on characters. Unfortunately there is no QueryTriggerInteraction parameter for RaycastCommand, which we use for character vis checks. Instead, I've changed the global default to not query triggers, which disables trigger queries in RaycastCommand, and then combed through all existing physics commands to make sure they've got the right tigger setting (since many were using QueryTriggerInteraction.UseGlobal).