fix: better input sanitization [MTT-5894] by LPLafontaineB · Pull Request #821 · Unity-Technologies/com.unity.multiplayer.samples.coop
Description
This PR improves how we sanitize inputs when entering IP addresses and ports. Our sanitization now prevents all invalid characters when writing in those fields, and deactivates the Join/Host button when the input cannot be parsed into a NetworkEndpoint by UnityTransport.
Issue Number(s)
Contribution checklist
- [n/a] Tests have been added for boss room and/or utilities pack
- Release notes have been added to the project changelog file and/or package changelog file
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- JIRA ticket ID is in the PR title or at least one commit message
- Include the ticket ID number within the body message of the PR to create a hyperlink
- [n/a] An Index entry has been added in readme.md if applicable