def parse_unity_results(output):
    """Read output from Unity and parse the results into 5-tuples:
    (file, lineno, name, result, message)"""
    result = []
    lines = output.split('\n')
    for line in lines:
        if line == '':
            break
        parts = line.split(':', maxsplit=4)
        if len(parts) == 4:
            parts.append(None)
        else:
            parts[4] = parts[4][1:]
        result.append(tuple(parts))
    return result