Skip to content
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

Null Reference Exception when playing multiplayer convergence #85

Open
Fito opened this issue May 5, 2016 · 7 comments
Open

Null Reference Exception when playing multiplayer convergence #85

Fito opened this issue May 5, 2016 · 7 comments

Comments

@Fito
Copy link
Contributor

Fito commented May 5, 2016

I get the following error when joining a multiplayer convergence game:
screen shot 2016-05-05 at 12 52 54 pm

@Fito
Copy link
Contributor Author

Fito commented May 5, 2016

The problem is coming from this section:
void InitializeResetSlider (float availWidth, int widthPer)
{
int perPage = Mathf.FloorToInt (availWidth / widthPer);
// Adjust init slider val
maxResetSliderValue = Mathf.Max (0, attemptList.Count - perPage);
resetSliderValue = maxResetSliderValue;
}

attemptList is Null

@niculistana
Copy link
Contributor

I am also experiencing this issue.

@echan2
Copy link
Contributor

echan2 commented May 8, 2016

I am as well

@jensvdh
Copy link
Member

jensvdh commented May 9, 2016

Same here @worldofbalance/convergence

@dlhoff
Copy link
Contributor

dlhoff commented May 9, 2016

I have not received this error so far and i play a lot. It may be because i play it differently than you do. Do you click on the reset sliders at any time during the game? At the beginning of the game?
I normally click on the reset sliders after playing a few rounds, but not at the beginning.

@dlhoff
Copy link
Contributor

dlhoff commented May 9, 2016

Harjit got this error because the converge-ecosystem.txt file in his directory is different than the one i pushed to the repository. We are preparing a new pull-request/push for multiplayer convergence and i will make sure the right version of coverge-ecosystem.txt file gets into the repository. Maybe my previous push did not take that file.

@jensvdh
Copy link
Member

jensvdh commented May 9, 2016

@dlhoff sounds good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants