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

Error every frame due to condition in spliced tree #15

Closed
PureSaltProductions opened this issue Feb 10, 2020 · 6 comments
Closed

Error every frame due to condition in spliced tree #15

PureSaltProductions opened this issue Feb 10, 2020 · 6 comments

Comments

@PureSaltProductions
Copy link

PureSaltProductions commented Feb 10, 2020

.Sequence("Die")
    .Condition("Should Die?", () => State.HasFlag(CharacterState.Dead))
    .PathfindingStop()
    .AnimancerCrossFade(AnimationDictionary.Animations["Die"])
.End()
//.Sequence("Die Tree")
//    .Splice(UnitTasks.Die(gameObject, this, AnimationDictionary.Animations["Die"]))
//.End()
@PureSaltProductions
Copy link
Author

Error was found to be a rogue throw new System.NotImplementedException();

in
https://github.com/ashblue/fluid-behavior-tree/blob/master/Assets/FluidBehaviorTree/Runtime/TaskParents/TaskParentBase.cs#L44

@ashblue
Copy link
Owner

ashblue commented Feb 10, 2020

On it, will get a patch out today and a test to prevent future regressions.

@ashblue
Copy link
Owner

ashblue commented Feb 10, 2020

The bug has been patched. Please let me know if this fixes your issue https://github.com/ashblue/fluid-behavior-tree/releases/tag/v2.2.1

@PureSaltProductions
Copy link
Author

Confirmed working in my environment

@ashblue
Copy link
Owner

ashblue commented Feb 10, 2020

@all-contributors please add @PureSaltProductions for userTesting

@allcontributors
Copy link
Contributor

@ashblue

I've put up a pull request to add @PureSaltProductions! 🎉

@ashblue ashblue closed this as completed Feb 10, 2020
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

2 participants