-
Notifications
You must be signed in to change notification settings - Fork 462
chore: started replacing exceptions #3867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop-2.0.0
Are you sure you want to change the base?
chore: started replacing exceptions #3867
Conversation
| // prior to invoking OnNetworkSpawn so cross NetworkBehaviour: | ||
| // - accessing of NetworkVariables will work correctly. | ||
| // - invocation of RPCs will work properly (and not throw exception under certain scenarios) | ||
| // - invocation of RPCs will work properly (and not throw exception under certain scenarios) CHECK this comment about exceptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as we are removing exceptions we should remove (and not throw exception under certain scenarios), right?
| if (NetworkManager.Singleton.LogLevel <= LogLevel.Error) | ||
| { | ||
| NetworkLog.LogError("Could not serialize NetworkObject: Out of buffer space."); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't catch why we didn't want to add a return here, is it correct not to add one for throwing an overflow exception?
Purpose of this PR
Jira ticket
Link to related jira ticket (Use the smart commits). Short version (e.g. MTT-123) also works and gets auto-linked
Changelog
Documentation
Testing & QA (How your changes can be verified during release Playtest)
Functional Testing
Manual testing :
Manual testing doneAutomated tests:
Covered by existing automated testsCovered by new automated testsDoes the change require QA team to:
Review automated tests?Execute manual tests?Provide feedback about the PR?If any boxes above are checked the QA team will be automatically added as a PR reviewer.
Backports