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

Crash when pushing a trivial manœuvre beyond the end of a trivial flight plan #2528

Closed
eggrobin opened this issue Apr 14, 2020 · 0 comments · Fixed by #2529
Closed

Crash when pushing a trivial manœuvre beyond the end of a trivial flight plan #2528

eggrobin opened this issue Apr 14, 2020 · 0 comments · Fixed by #2529
Labels
Milestone

Comments

@eggrobin
Copy link
Member

Probably a bug in the fix to #852.

The UI briefly shows an error message mentioning something about manœuvre -1.

The crash logs mention

ArgumentException: GUILayout: Mismatched LayoutGroup.repaint
 at UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options, System.Type layoutType) [0x00089] in <fa6f9762ac624af092525d37c9d516c4>:0
 at UnityEngine.GUILayout.BeginHorizontal (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) [0x00001] in <fa6f9762ac624af092525d37c9d516c4>:0
 at UnityEngine.GUILayout.BeginHorizontal (UnityEngine.GUILayoutOption[] options) [0x0000b] in <fa6f9762ac624af092525d37c9d516c4>:0
 at UnityEngine.GUILayout+HorizontalScope..ctor (UnityEngine.GUILayoutOption[] options) [0x00007] in <fa6f9762ac624af092525d37c9d516c4>:0
 at principia.ksp_plugin_adapter.DifferentialSlider.Render (System.Boolean enabled) [0x00007] in <9d87faa33d474d1b91ce844bfafa8b8e>:0
 at principia.ksp_plugin_adapter.BurnEditor.Render (System.String header, System.Boolean anomalous, System.Double burn_final_time) [0x0019f] in <9d87faa33d474d1b91ce844bfafa8b8e>:0
 at principia.ksp_plugin_adapter.FlightPlanner.RenderFlightPlan (System.String vessel_guid) [0x004ac] in <9d87faa33d474d1b91ce844bfafa8b8e>:0
 at principia.ksp_plugin_adapter.FlightPlanner.RenderWindow (System.Int32 window_id) [0x00051] in <9d87faa33d474d1b91ce844bfafa8b8e>:0
 at UnityEngine.GUILayout+LayoutedWindow.DoWindow (System.Int32 windowID) [0x00077] in <fa6f9762ac624af092525d37c9d516c4>:0
 at UnityEngine.GUI.CallWindowDelegate (UnityEngine.GUI+WindowFunction func, System.Int32 id, System.Int32 instanceID, UnityEngine.GUISkin _skin, System.Int32 forceRect, System.Single width, System.Single height, UnityEngine.GUIStyle style) [0x00077] in <fa6f9762ac624af092525d37c9d516c4>:0 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants