Page 1 of 1

1.00.141 - End game upload problem

Posted: Sun Oct 10, 2021 4:13 pm
by ncc1701e
I have obtained this window at the start of my turn.

Image

RE: 1.00.141 - End game upload problem

Posted: Sun Oct 10, 2021 4:15 pm
by ncc1701e
Clicking on Upload button, close the current game and I am back on the main screen of the game.

Image

RE: 1.00.141 - End game upload problem

Posted: Sun Oct 10, 2021 4:16 pm
by ncc1701e
But then, the game is still to be uploaded like if nothing was done.

Image

RE: 1.00.141 - End game upload problem

Posted: Sun Oct 10, 2021 4:17 pm
by ncc1701e
I can see this error message in the logs:

Unloading 82 unused Assets to reduce memory usage. Loaded Objects now: 1850.
Total: 51.447300 ms (FindLiveObjects: 0.137400 ms CreateObjectMapping: 0.073700 ms MarkObjects: 49.752200 ms DeleteObjects: 1.483300 ms)

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at GameCycle.StartGameCalculator () [0x0018d] in <27f9dfb6867c40eca412b86aa2865641>:0
at GameMenu.Start () [0x000b1] in <27f9dfb6867c40eca412b86aa2865641>:0

(Filename: <eae584ce26bc40229c1b1aa476bfa589> Line: 0)

Unloading 2 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 5.302300 ms

RE: 1.00.141 - End game upload problem

Posted: Mon Oct 11, 2021 10:04 am
by AlvaroSousa
That's a new error. I will look into it.

RE: 1.00.141 - End game upload problem

Posted: Fri Oct 15, 2021 10:29 am
by AlvaroSousa
I think I fixed this. The error comes from creating the action list and moving the camera to the 1st action country. If all the Axis have surrendered, lets say, then it has no where to go and throws an error.

So I added a check to it to make sure there is a country to go to. Otherwise, it will go to the center of the map.

RE: 1.00.141 - End game upload problem

Posted: Sat Nov 27, 2021 7:28 am
by ncc1701e
Since my game was finished, I have tried your fix in V1.00.141 Beta 5.2.

Image

RE: 1.00.141 - End game upload problem

Posted: Sat Nov 27, 2021 7:28 am
by ncc1701e
But, this is still looping on my side.

Image

RE: 1.00.141 - End game upload problem

Posted: Sat Nov 27, 2021 7:33 am
by ncc1701e
@generalfdog, could you please not resign this game? This way, I may test the incoming fixes.

I have still the same error in the log file. Again, this is Beta 5.2.

Unloading 69 unused Assets to reduce memory usage. Loaded Objects now: 1961.
Total: 33.768000 ms (FindLiveObjects: 0.174300 ms CreateObjectMapping: 0.049900 ms MarkObjects: 32.218800 ms DeleteObjects: 1.324400 ms)

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at GameMenu.Start () [0x00235] in <82fdfc7dffad44c780300434cf5fd283>:0

(Filename: <eae584ce26bc40229c1b1aa476bfa589> Line: 0)