All Barks on scene Show for a second and Hide. Bark on Idle / Bark Group
All Barks on scene Show for a second and Hide. Bark on Idle / Bark Group
Hi
I have problem with Barks. Through scene I have scatter some Bark groups, and all of them sometimes show for second and hide (all Barks from every group). Mostly they work fine but on the start of scene there are moments when this happening.
I attached screenshot of setting
I have problem with Barks. Through scene I have scatter some Bark groups, and all of them sometimes show for second and hide (all Barks from every group). Mostly they work fine but on the start of scene there are moments when this happening.
I attached screenshot of setting
- Attachments
-
- BarksSettings.png (39.37 KiB) Viewed 1407 times
Re: All Barks on scene Show for a second and Hide. Bark on Idle / Bark Group
Hi,
You can set your bark UI's panel inactive at design time. Make sure you set the child panel inactive, not the parent with the StandardBarkUI component. The bark UI will activate the panel when needed.
You can set your bark UI's panel inactive at design time. Make sure you set the child panel inactive, not the parent with the StandardBarkUI component. The bark UI will activate the panel when needed.
Re: All Barks on scene Show for a second and Hide. Bark on Idle / Bark Group
After switching off "Panel" object, none of the barks is visible now.
I also tried to switch off Canvas on Parent but the problem still exists
Hierarchy in attachment
I also tried to switch off Canvas on Parent but the problem still exists
Hierarchy in attachment
- Attachments
-
- Dialogue Hierarchi.png (12.98 KiB) Viewed 1404 times
Re: All Barks on scene Show for a second and Hide. Bark on Idle / Bark Group
In that case, try leaving the Panel active and Canvas enabled.
If your bark UI has an Animator and a Canvas Group (like the Basic Standard Bark UI or Bubble Template Standard Bark UI prefabs), assign the Canvas Group Animator Controller to the Animator and optionally set the Canvas Group's Alpha to zero.
If your bark UI has an Animator and a Canvas Group (like the Basic Standard Bark UI or Bubble Template Standard Bark UI prefabs), assign the Canvas Group Animator Controller to the Animator and optionally set the Canvas Group's Alpha to zero.
Re: All Barks on scene Show for a second and Hide. Bark on Idle / Bark Group
Animator was attached from the start (it's a copy of Basic Standard Bark UI we only changed some visuals). When The problem is visible animator looks like on image (image in attachment) also setting Alpha didin't help.
- Attachments
-
- BarkAnimator.png (48.71 KiB) Viewed 1397 times
Re: All Barks on scene Show for a second and Hide. Bark on Idle / Bark Group
The Basic Standard Bark UI has a Canvas component. The Standard Bark UI component should disable this Canvas as soon as the scene/GameObject starts.
As a test, if you switch to the original Basic Standard Bark UI, does the issue go away? Or is it still present?
Can you identify what's triggering the Hide animator state?
Can you send a reproduction project to tony (at) pixelcrushers.com?
As a test, if you switch to the original Basic Standard Bark UI, does the issue go away? Or is it still present?
Can you identify what's triggering the Hide animator state?
Can you send a reproduction project to tony (at) pixelcrushers.com?
Re: All Barks on scene Show for a second and Hide. Bark on Idle / Bark Group
Hi
I created the new Project and In a new Project I can't reproduce the bug but:
New project had Dialogue System ver. 2.2.26
And our Project have ver. 2.2.16
How I can update dialogue system without loosing all data in our original project.
I created the new Project and In a new Project I can't reproduce the bug but:
New project had Dialogue System ver. 2.2.26
And our Project have ver. 2.2.16
How I can update dialogue system without loosing all data in our original project.
Re: All Barks on scene Show for a second and Hide. Bark on Idle / Bark Group
Hi,
2. Make a note of any Dialogue System files that you have directly modified since the update will overwrite them. Hopefully you haven't modified any directly. Some tips:
4. Reapply customizations if necessary. If possible, use subclasses or event hooks for code customizations, and use new prefabs or prefab variants for prefab customization. This way you're not directly modifying any Dialogue System files, so there won't be any issue updating to future versions.
5. Hold onto your backup until you're sure everything is good with the update.
1. Make sure you have a good backup of your project, and preferably the latest version of your project in a version control system.
2. Make a note of any Dialogue System files that you have directly modified since the update will overwrite them. Hopefully you haven't modified any directly. Some tips:
- Look for any Dialogue System scripts that you have customized. Where possible, move those customizations to your own subclasses or scripts that uses event hooks. If you come across a case where you feel that you have to directly customize a Dialogue System script, let me know. I'll either explain how to apply your customization without having to directly modifying Dialogue System files, or I'll add the ability to do so.
- Look for any other Dialogue System files or prefabs that you have customized. For example, if you've customized the Dialogue Manager prefab, find a fully customized version in one of your scenes. Drag it to the Project view to make a new prefab. Then use this new prefab in your scenes instead of the original Dialogue Manager prefab.
4. Reapply customizations if necessary. If possible, use subclasses or event hooks for code customizations, and use new prefabs or prefab variants for prefab customization. This way you're not directly modifying any Dialogue System files, so there won't be any issue updating to future versions.
5. Hold onto your backup until you're sure everything is good with the update.
Re: All Barks on scene Show for a second and Hide. Bark on Idle / Bark Group
Hi Tony
Update helped, now bug don't exist thx for help
Update helped, now bug don't exist thx for help
Re: All Barks on scene Show for a second and Hide. Bark on Idle / Bark Group
Thanks for letting me know. Glad to help!