Skip to content

Conversation

@LPLafontaineB
Copy link
Contributor

@LPLafontaineB LPLafontaineB commented May 18, 2023

Description

This PR adds the NetworkSimulator tool to Boss Room. It can be used in the editor through the inspector, as by default, or through a new popup window which exposes some of its functionality. This window is accessible in development builds.

Issue Number(s)

MTT-6084

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
  • An Index entry has been added in readme.md if applicable

@LPLafontaineB LPLafontaineB added the 5-Design Review Draft to review design ideas before committing to future work label May 18, 2023
@SamuelBellomo SamuelBellomo requested a review from DenninDalke May 19, 2023 15:54
void OnScenarioChanged(int optionIndex)
{
var scenarioName = m_ScenariosDropdown.options[optionIndex].text;
m_NetworkSimulator.Scenario = m_Scenarios.ContainsKey(scenarioName) ? m_Scenarios[scenarioName] : null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm easily able to reproduce an error when toggling a new scenario when ConnectionCycle scenario is already active.
Reproduction steps:

  • Hit ConnectionsCycle scenario from dropdown
  • While scenario is running, select another scenario from dropdown that isn't None.
  • While new scenario is running, select ConnectionsCycle scenario once again.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coming back to this, not yet sure if this is a Tools bug, or a bad usage from my part. I'll investigate this further

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will re-review once more when we find out if it's on our end or not, so I'll keep this open for now.

@LPLafontaineB
Copy link
Contributor Author

Closing this and including the changes here in #843 instead to avoid conflict issues with squash and merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5-Design Review Draft to review design ideas before committing to future work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants