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

Swivel Wing Exception #116

Closed
Baledin opened this issue Jan 3, 2025 · 2 comments · Fixed by #132
Closed

Swivel Wing Exception #116

Baledin opened this issue Jan 3, 2025 · 2 comments · Fixed by #132
Assignees
Labels
bug Something isn't working

Comments

@Baledin
Copy link
Owner

Baledin commented Jan 3, 2025

Fly Casual Release Version
v2.5.20241101.03

Crash Report: NullReferenceException: Object reference not set to an instance of an object

Stack Trace
SubPhases.DecisionSubPhase.GenerateDecisionCommand (System.String decisionName) (at :0)
SubPhases.DecisionSubPhase.DoDefault () (at :0)
Players.GenericAiPlayer.TakeDecision () (at :0)
SubPhases.DecisionSubPhase.StartIsFinished () (at :0)
SubPhases.DecisionSubPhase.PrepareDecision (System.Action callBack) (at :0)
SubPhases.DecisionSubPhase.Start () (at :0)
Abilities.SecondEdition.SwivelWingDownAbility.AskToRotate (System.Object sender, System.EventArgs e) (at :0)
Trigger.Fire () (at :0)
Triggers.FireTrigger (Trigger trigger) (at :0)
Triggers+TriggersOrderSubPhase+<>c__DisplayClass0_0.b__0 (System.Object , System.EventArgs ) (at :0)
SubPhases.Decision.ExecuteDecision (System.Object sender, System.EventArgs e) (at :0)
SubPhases.DecisionSubPhase.ExecuteDecision (System.String decisionName) (at :0)
GameCommands.DecisionCommand.Execute () (at :0)
GameCommands.GameCommand.TryExecute () (at :0)
GameController.WaitForCommand () (at :0)
GameManagerScript+d__10.MoveNext () (at :0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <557fec70fa22493aa8454566f5e6c832>:0)

@Baledin Baledin added the bug Something isn't working label Jan 3, 2025
@Baledin Baledin self-assigned this Jan 15, 2025
@Baledin
Copy link
Owner Author

Baledin commented Jan 15, 2025

Swivel Wings working as expected for player. AI crashes the game on use.

@Baledin
Copy link
Owner Author

Baledin commented Jan 15, 2025

Updated code to not allow AI to use the SwivelWing ability. Added Swivel Wing animation for visual indication of wings up or down.

@Baledin Baledin linked a pull request Jan 29, 2025 that will close this issue
@Baledin Baledin added this to the v2.5.20241101.04 milestone Feb 6, 2025
@Baledin Baledin closed this as completed Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant