Summary
Several locations access objects without null checks, risking NullReferenceException or KeyNotFoundException.
Findings
Impact
Server crashes when players reconnect or during race conditions.
Suggested Fix
Use TryGetValue for dictionary access. Store _matchData in local variable before lambda. Use string.IsNullOrEmpty().
Summary
Several locations access objects without null checks, risking NullReferenceException or KeyNotFoundException.
Findings
Impact
Server crashes when players reconnect or during race conditions.
Suggested Fix
Use TryGetValue for dictionary access. Store _matchData in local variable before lambda. Use string.IsNullOrEmpty().