Issue Data
|
Issue #23394: SF_WorkshopDogmeatWhileBuild_0019C5D1: Array has 128 elements out of a maximum of 128...
[12/27/2017 - 03:01:14AM] error: Array has 128 elements out of a maximum of 128 and cannot be expanded to add 1 more items
stack: [Followers (000289E4)].followersscript.SetAutonomyPrivate() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\followersscript.psc" Line 2754 <unknown self>.followersscript.SetAutonomy() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\followersscript.psc" Line 2742 [ (0019C5D1)].Fragments:Scenes:SF_WorkshopDogmeatWhileBuild_0019C5D1.Fragment_Begin() - "g:\_F4\Art\Raw\Scripts\Fragments\Scenes\SF_WorkshopDogmeatWhileBuild_0019C5D1.psc" Line 7 Note: This repeated a number of additional times in my log. Update: It continues to spam my log for unknown reasons when Dogmeat or Codsworth (and I'd assume other companions) are following. [12/27/2017 - 10:41:33PM] error: Array has 128 elements out of a maximum of 128 and cannot be expanded to add 1 more items stack: [Followers (000289E4)].followersscript.SetAutonomyPrivate() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\followersscript.psc" Line 2754 <unknown self>.followersscript.SetAutonomy() - "C:\Users\Dr. Peter Haas\AppData\Local\Temp\PapyrusTemp\followersscript.psc" Line 2742 [ (001D907A)].Fragments:Scenes:SF_WorkshopCompanionWhileBui_001D907A.Fragment_Begin() - "g:\_F4\Art\Raw\Scripts\Fragments\Scenes\SF_WorkshopCompanionWhileBui_001D907A.psc" Line 7 |
Once this starts happening, the follower autonomy control gets permanently stuck and the only way to make it work again is to clear the array. This doesn't solve the causes of this issue though. Presumably, invalid objects have been passed in at some point, but I don't know what objects these are. We need to know this however to conceive a better fix (which would prevent these objects from being passed in at all or would sort them out by specific checks).
Thus, for the time being, I added some code that logs the contents of the array once it starts overflowing and clears the array subsequently. This should help us to identify the culprit objects so we can apply a more elegant fix in a future patch update.
Thus, for the time being, I added some code that logs the contents of the array once it starts overflowing and clears the array subsequently. This should help us to identify the culprit objects so we can apply a more elegant fix in a future patch update.
Showing Comments 1 - 1 of 1