Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NRE ScienceArchiveWindow #133

Open
Gordon-Dry opened this issue Sep 25, 2022 · 3 comments
Open

NRE ScienceArchiveWindow #133

Gordon-Dry opened this issue Sep 25, 2022 · 3 comments

Comments

@Gordon-Dry
Copy link
Contributor

It works, and then suddenly not anymore, when I open the ScienceArchiveWindow it cannot "filter by current vessel" anymore.
And it defaults to show "filter by researched" each time I open it then.

Each time I try to set the filter this is logged:

[EXC 21:58:52.184] NullReferenceException
	KERBALISM.ScienceArchiveWindow.UpdateVesselFilter () (at <94f72890f68a4c62b6331661aa032e5e>:0)
	KERBALISM.ScienceArchiveWindow.OnToggleVesselFilter (System.Boolean isOn) (at <94f72890f68a4c62b6331661aa032e5e>:0)
	UnityEngine.Events.InvokableCall`1[T1].Invoke (T1 args0) (at <12e76cd50cc64cf19e759e981cb725af>:0)
	UnityEngine.Events.UnityEvent`1[T0].Invoke (T0 arg0) (at <12e76cd50cc64cf19e759e981cb725af>:0)
	UnityEngine.UI.Toggle.Set (System.Boolean value, System.Boolean sendCallback) (at <5336a8686ff14f17888ce9a9f44f29bc>:0)
	UnityEngine.UI.Toggle.set_isOn (System.Boolean value) (at <5336a8686ff14f17888ce9a9f44f29bc>:0)
	UnityEngine.UI.Toggle.InternalToggle () (at <5336a8686ff14f17888ce9a9f44f29bc>:0)
	UnityEngine.UI.Toggle.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <5336a8686ff14f17888ce9a9f44f29bc>:0)
	UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <5336a8686ff14f17888ce9a9f44f29bc>:0)
	UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <5336a8686ff14f17888ce9a9f44f29bc>:0)
	UnityEngine.DebugLogHandler:LogException(Exception, Object)
	ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
	UnityEngine.EventSystems.EventSystem:Update()

Full log:
2022-09-25-1.zip

@Gordon-Dry
Copy link
Contributor Author

btw I followed those instructions just a few hours ago, perhaps they could be the culprit?
-> https://forum.kerbalspaceprogram.com/index.php?/topic/190040-rp-1-realistic-progression-one-for-ksp-1123/page/13/#comment-4100122

@Gordon-Dry
Copy link
Contributor Author

This happens after
[LOG 21:57:55.162] FF: situation change for active vessel from SUB_ORBITAL to FLYING

as soon as the vessel left the atmosphere again (yes, it dipped into the upper atmosphere)
[LOG 22:02:32.389] FF: situation change for active vessel from FLYING to SUB_ORBITAL

it magically worked again - for one time only.

After closing and reopening the ScienceArchiveWindow it did not work again, with the same symptoms.

@Gordon-Dry
Copy link
Contributor Author

Even after reverting the instructions from https://forum.kerbalspaceprogram.com/index.php?/topic/190040-rp-1-realistic-progression-one-for-ksp-1123/page/13/#comment-4100122 the issue still occurs.

It seems to be a coincidence and so the culprit is elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant