In version 2.2.56, due to changes in the parameters passed to OnBarkEnd, the IsActorMe check in StandardBarkUI.OnBarkEnd now always returns false, which breaks its functionality.
This might be considered a breaking change, since altering the parameters of methods like OnBarkEnd could not only introduce issues in the internal code but might also affect user scripts that rely on these parameters. (Fortunately, I don’t have any scripts depending on these parameters.)
Could you please investigate this? Thank you!
[BUG] OnBarkEnd Parameter Change Breaks StandardBarkUI
Re: [BUG] OnBarkEnd Parameter Change Breaks StandardBarkUI
Hi,
This change fixes a bug. It corrects OnBarkEnd(Transform) to work the way it was intended and advertised in the manual. I understand that it might break any user code that depended on the previous incorrect implementation. But this is a fairly obscure method that is not very commonly used anyway. To know which character actually barked the line, please use OnBarkLine(Subtitle).
This change fixes a bug. It corrects OnBarkEnd(Transform) to work the way it was intended and advertised in the manual. I understand that it might break any user code that depended on the previous incorrect implementation. But this is a fairly obscure method that is not very commonly used anyway. To know which character actually barked the line, please use OnBarkLine(Subtitle).
Re: [BUG] OnBarkEnd Parameter Change Breaks StandardBarkUI
Do you know how to fix StandardBarkUI.OnBarkEnd?
Sometimes I trigger barks for both the speaker and listener at the same time, and their bark durations vary. Simply removing the IsActorMe check would cause both of their barks to be hidden simultaneously.
It seems that keeping the previous logic for StandardBarkUI.OnBarkEnd is no longer appropriate.
Sometimes I trigger barks for both the speaker and listener at the same time, and their bark durations vary. Simply removing the IsActorMe check would cause both of their barks to be hidden simultaneously.
It seems that keeping the previous logic for StandardBarkUI.OnBarkEnd is no longer appropriate.
Re: [BUG] OnBarkEnd Parameter Change Breaks StandardBarkUI
I'll work on a fix for this and provide a patch here. This was an unintended side effect of the bug fix for OnBarkEnd.
Re: [BUG] OnBarkEnd Parameter Change Breaks StandardBarkUI
I’ll temporarily revert to the previous version and look forward to your fix!
Re: [BUG] OnBarkEnd Parameter Change Breaks StandardBarkUI
Hi,
Would you please confirm that this patch works as desired in your project?
DS_BarkPatch_2025-07-20.unitypackage
Upon evaluation, I had to add a new method OnBarkEndSpeaker(Transform) that always passes the speaker (barker).
Would you please confirm that this patch works as desired in your project?
DS_BarkPatch_2025-07-20.unitypackage
Upon evaluation, I had to add a new method OnBarkEndSpeaker(Transform) that always passes the speaker (barker).
Re: [BUG] OnBarkEnd Parameter Change Breaks StandardBarkUI
Your patch has fixed this bug, thank you!
Re: [BUG] OnBarkEnd Parameter Change Breaks StandardBarkUI
Hey, I’d like to mention an old bug I came across. In BarkController, the calculation of endDuration in PlayBarkSequence uses MinSubtitleSeconds and SubtitleCharsPerSecond instead of MinBarkSeconds and BarkCharsPerSecond.
This causes the calculated end time of my Bark Sequence to differ from the Bark’s own end time. Is this the intended behavior?
This causes the calculated end time of my Bark Sequence to differ from the Bark’s own end time. Is this the intended behavior?
Re: [BUG] OnBarkEnd Parameter Change Breaks StandardBarkUI
Thanks for reporting that. I'll fix it in the next update.