O-n-y / oxy.mods

Oxy.BugTracker
17 stars 2 forks source link

[DGSM - Duplicants Generation Settings Manager] Crash (randomly) #63

Closed jpetays closed 2 years ago

jpetays commented 2 years ago

Thank you for a great mod that seems to be quite challenging to get work without glitches in any possible situation. I lose reroll button every time I close the printing pod window from upper right corner [X]. (this might have been fixed but never close anymore) But I can live with that as I know how it works, you have to do the rerolling when you open the window or wait for next duplicant.

The problem that is a bit annoying is that if you do a lot of rerolling or reroll all your duplicant candidates (as I do) in a row the mod crashes after a while. YMMV but eventually it happens before 50th reroll, I would say. The error ONI gave below is so interesting that I decided this time to post this for you to investigate (on low priority).

The mod works and you just save before opening printing pod so that you don't lose nothing but some time if it did not work this time but crashed.

mod_info.yaml version: 3.2.23.271

Error and callstack:

Tried to add minions beyond the allowed limit

at UnityEngine.Debug.LogError (System.Object message) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 at Debug.LogError (System.Object obj) [0x00000] in <158cd7482f89497392ec5a6ce92a5144>:0 at CharacterSelectionController.AddDeliverable (ITelepadDeliverable deliverable) [0x00000] in <84ec5be14c67406292956d199a0bec75>:0 at CharacterContainer.SelectDeliverable () [0x00000] in <84ec5be14c67406292956d199a0bec75>:0 at CharacterContainer.b__51_0 () [0x00000] in <84ec5be14c67406292956d199a0bec75>:0 at Util.Signal (System.Action action) [0x00000] in <158cd7482f89497392ec5a6ce92a5144>:0 at KToggle.Click () [0x00000] in <158cd7482f89497392ec5a6ce92a5144>:0 at KToggle.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <158cd7482f89497392ec5a6ce92a5144>:0 at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <04d0cd30fbf9474897ce2cf447facfe7>:0 at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in <04d0cd30fbf9474897ce2cf447facfe7>:0 at UnityEngine.EventSystems.StandaloneInputModule.ReleaseMouse (UnityEngine.EventSystems.PointerEventData pointerEvent, UnityEngine.GameObject currentOverGo) [0x00000] in <04d0cd30fbf9474897ce2cf447facfe7>:0 at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress (UnityEngine.EventSystems.PointerInputModule+MouseButtonEventData data) [0x00000] in <04d0cd30fbf9474897ce2cf447facfe7>:0 at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent (System.Int32 id) [0x00000] in <04d0cd30fbf9474897ce2cf447facfe7>:0 at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent () [0x00000] in <04d0cd30fbf9474897ce2cf447facfe7>:0 at UnityEngine.EventSystems.StandaloneInputModule.Process () [0x00000] in <04d0cd30fbf9474897ce2cf447facfe7>:0 at UnityEngine.EventSystems.EventSystem.Update () [0x00000] in <04d0cd30fbf9474897ce2cf447facfe7>:0 Build: U39-490405-S

O-n-y commented 2 years ago

if you have multiple issues, please add them in separate tickets.

for crash - in log there is no information about DGSM, so my guess it is a bug of the game (can be you clicking too often or something in this matter), but i will try to check and reproduce.

for reroll button disappear, i will check out

jpetays commented 2 years ago

Today I re-rolled single duplicant only and did not touch other duplicants at all and this seemed to work when I started a new game (for locavore achievement). But when I started to re-roll ranchers my strategy is to roll all three and then re-roll the worst until I am satisfied with the best rancher stats I have so far. This seems to cause the same exception I reported: "Tried to add minions beyond the allowed limit" after maybe some 20-30 re-rolls. If you keep re-rolling just one duplicant and do not touch others - it seems to work. Hope this helps to narrow the problem.

jpetays commented 2 years ago

My mods - if there is some other mod that might interfere with printing new duplicants. AFAIK there should not be any other mod for this functionality. temp2

jpetays commented 2 years ago

I disabled all mods except this mod DGSM - Duplicants Generation Settings Manager, mod manager and Bigger Camera Zoom Out and created a new game and run it for ~12 cycles. For every dupe I got from printing pod I pressed buttons very many times randomly without any problems! So it seems that the problem is elsewhere and it might be impossible to find the mod that causes this bug.

Unfortunately I did not take the exception and callstack before DLC was officially launched because the error message was then different and so generic that I thought it is impossible to find out anything sensible from it :-(

I close this for now.

jpetays commented 1 year ago

I had same issue with an other mod and exactly same error message "Tried to add minions beyond the allowed limit". So this error is coming for the game itself or is related how mods interact with the game causing this error. I think this seems to be more general "feature" than just one misbehaving mod (which DGSM is not).

O-n-y commented 1 year ago

it should be some circumstances, could be some other mod causing this