View Issue Details

IDProjectCategoryLast Update
0023459AI War 2Crash/ExceptionJul 24, 2020 12:54 pm
ReporterGreatYng Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product Version2.106 Immortals and Unresponsiveness 
Fixed in Version2.108 Galactic War Units And The Exostrike 
Summary0023459: PrivateVisExtensions error on loading game
DescriptionAll I have related to this is a small part of the DebugLog. The game continued loading after this, and a brief check in a random save showed nothing out of the ordinary.
TagsNo tags attached.

Activities

GreatYng

Jul 23, 2020 6:28 pm

reporter  

LoadingError.txt (663 bytes)   
7/23/2020 10:52:01 PM	Error: exception while loading dll from path C:/Games - GoG/AI War 2/GameData/ModdableLogicDLLs/PrivateVisExtensions.dll
System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at (wrapper stelemref) System.Object.virt_stelemref_class_small_idepth(intptr,object)
  at System.Collections.Generic.List`1[T].Add (T item) [0x0001e] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at Arcen.Universal.ArcenExternalTypeManager.LoadAssembly (System.String DllName) [0x0013e] in <4cb092286fab4f19b49831ca6cddd610>:0 
7/23/2020 10:52:01 PM	Unable to load Arcen.AIW2.PrivateVisExtensions.DirectTopDownCam from PrivateVisExtensions
LoadingError.txt (663 bytes)   

Chris_McElligottPark

Jul 23, 2020 10:39 pm

administrator   ~0057824

So odd -- I get this from time to time on my OSX machine, but never on my windows one. Now you've gotten it on a windows machine. I will have to look more into this, I think. It may be a threading issue, as this is a relatively new phenomenon. Thanks for the report!

Chris_McElligottPark

Jul 24, 2020 12:54 pm

administrator   ~0057839

Thanks!

* Fixed a harmless bug where, for the last few months since we've been doing multithreaded loading of camera xml files, the "PrivateVisExtensions" assembly would sometimes have annoying but unimportant errors appear on startup.
** Essentially, it turns out that loading classes from a custom dll is not entirely threadsafe. Go figure. The fix for that is simple, and it doesn't slow things down, but now we know.

Issue History

Date Modified Username Field Change
Jul 23, 2020 6:28 pm GreatYng New Issue
Jul 23, 2020 6:28 pm GreatYng File Added: LoadingError.txt
Jul 23, 2020 10:39 pm Chris_McElligottPark Note Added: 0057824
Jul 24, 2020 12:54 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jul 24, 2020 12:54 pm Chris_McElligottPark Status new => resolved
Jul 24, 2020 12:54 pm Chris_McElligottPark Resolution open => fixed
Jul 24, 2020 12:54 pm Chris_McElligottPark Fixed in Version => 2.108 Galactic War Units And The Exostrike
Jul 24, 2020 12:54 pm Chris_McElligottPark Note Added: 0057839