Australian rugby has been rocked by the death of a young player following a match in New South Wales.