I am facing an issue that i don’t fully understand. When i try to init a variable in a seperate canister call, the code breaks. I traced the code down to "FieldPlayerMLP.cpp ln 37.
If i uncomment //g_PitchManager = new PitchManager(); in play_match in SimSoccerServer.cpp, the code works fine.
Here are the steps to reproduce the issue:
I have more time to play around with this tomorrow. As a start, if PitchManager is causing you issues, have you taken a look at all of the times that you called an index in PitchManager.cpp?
I have tried removing all code related to PitchManager, basically making the canister call doing nothing, yet I still get the same error on the second canister call of the same function (start_match).