Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

[FIXED] Game closes unexpectedly on user scen

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [FIXED] Game closes unexpectedly on user scen Page: [1]
Login
Message << Older Topic   Newer Topic >>
[FIXED] Game closes unexpectedly on user scen - 11/29/2019 1:21:43 AM   
Whicker

 

Posts: 664
Joined: 6/20/2018
Status: offline
CMO, B1115.8.1

this seems to be just for a scen I made but not sure; when I try to play it the game just closes all of a sudden for no reason. I turned on the exception logging and there are a few different messages in there, oddly it is not the same set of errors each time.

Initially I thought it was cause I had a colon (:) in the game title, and I noticed it trying to save things with the colon in the name which the OS did not like. I fixed that and it still does it.
Then I thought it was cause there is a swedish (?) sub with an umlaut (?) in the name, which shows fine in the game but in the lua logs it gets whacked - a couple of times the game closed right after a pier with that sub at it was destroyed. I tried making a test with just that sub and it worked fine, and now I think it was just a timing thing and maybe that sub had nothing to do with it.

This scen also has quite a few SBR errors if I export the ini file, not sure why that is or if it is related.

Attached is the scen, and the exception log.
It is kinda complicated, don't expect too much help with it, but maybe there is something obvious I am not seeing. The scen runs quite well, I have been doing it at the fastest compression and just watching, not playing, it crashes after a few minutes usually.

The last time it crashed it seemed to do it as I told it to pause from running at the fastest compression - it slowed down, and hesitated for a second and then closed. Other times it closed while I was watching and not touching anything other than moving around the map.

Here is one set of exceptions, I believe these were during the same play thru, then it crashed right on the last one:
quote:



11/28/2019 5:57:03 PM -- B1115.8.1 -- Collection was modified; enumeration operation may not execute.
Exception: Collection was modified; enumeration operation may not execute.
Stack Trace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Command_Core.Math2.(IEnumerable`1 )
at Command_Core.ActiveUnit_Navigator.(Single , Boolean )
Call Stack & Error details:
Error at 100221,

11/28/2019 5:57:37 PM -- B1115.8.1 -- Object reference not set to an instance of an object.
Exception: Object reference not set to an instance of an object.
Stack Trace: at Command_Core.ActiveUnit_AI.(Single , Boolean )
Call Stack & Error details:
Error at 100046,

11/28/2019 5:58:46 PM -- B1115.8.1 -- Exception of type '.' was thrown.
Exception: Exception of type '.' was thrown.
Stack Trace: at Command_Core.LuaUtility.(Object )
at Command_Core.Lua.LuaSandBox.RunScript(String str, Boolean RunInteractively, String script)
at .ƒ.(Scenario , SimEvent )
Call Stack & Error details:
Error at 101316,


Attachment (1)

< Message edited by Dimitris -- 12/10/2019 12:20:11 PM >
Post #: 1
RE: Game closes unexpectedly on user scen - 11/29/2019 2:00:29 AM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
Logged for investigation.

Thanks for the save file and detailed report!

_____________________________


(in reply to Whicker)
Post #: 2
RE: Game closes unexpectedly on user scen - 12/10/2019 12:19:50 PM   
Dimitris

 

Posts: 13282
Joined: 7/31/2005
Status: offline
Thanks for the save; fixed for the next update.

Like the scenario too!

_____________________________


(in reply to Rory Noonan)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [FIXED] Game closes unexpectedly on user scen Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.000