Bubble UI Subtitle Panel Not Working With “On Enable”
Posted: Sun Feb 20, 2022 11:54 pm
Hello,
I'm experiencing an issue where the "Bubble Template Standard UI Subtitle Panel" doesn't appear when it's supposed to, and is instead replaced by the regular dialogue UI. I've been losing my mind over this issue for a while now, and I've finally made some progress on figuring out the cause.
After spending over an hour completely unable to figure out why it wasn't working in my own project, I downloaded the "BubbleSubtitleExample_2018-08-22" files from your website. Sure enough, it was working fine in that project. After messing around for a while, I realized that if I started the example conversation from an empty object using a "Dialogue System Trigger" component with "On Enable," I could reproduce the issue.
I've tested this a lot, and I can consistently reproduce the issue, but I can't figure out the exact cause. In the example scene, changing the "Dialogue System Trigger" component on the NPC to "On Enable" still works, but removing the component and re-adding it completely breaks everything for some reason.
Here is a short video repro of the issue:
The video begins with the example scene completely untouched. I only show one way of reproducing the issue here, but after testing, it's not just the "Dialogue System Trigger" component that breaks things; starting conversations through C# in the OnEnable() method also causes the bubble UI to not appear.
Unity 2020.3.29f1
Dialogue System for Unity 2.2.25.1
Any help with this would be greatly appreciated. I really like starting conversations using OnEnable(), so it's a really big issue for me to not be able to do that.
Thank you for your time, and I look forward to hearing from you.
I'm experiencing an issue where the "Bubble Template Standard UI Subtitle Panel" doesn't appear when it's supposed to, and is instead replaced by the regular dialogue UI. I've been losing my mind over this issue for a while now, and I've finally made some progress on figuring out the cause.
After spending over an hour completely unable to figure out why it wasn't working in my own project, I downloaded the "BubbleSubtitleExample_2018-08-22" files from your website. Sure enough, it was working fine in that project. After messing around for a while, I realized that if I started the example conversation from an empty object using a "Dialogue System Trigger" component with "On Enable," I could reproduce the issue.
I've tested this a lot, and I can consistently reproduce the issue, but I can't figure out the exact cause. In the example scene, changing the "Dialogue System Trigger" component on the NPC to "On Enable" still works, but removing the component and re-adding it completely breaks everything for some reason.
Here is a short video repro of the issue:
The video begins with the example scene completely untouched. I only show one way of reproducing the issue here, but after testing, it's not just the "Dialogue System Trigger" component that breaks things; starting conversations through C# in the OnEnable() method also causes the bubble UI to not appear.
Unity 2020.3.29f1
Dialogue System for Unity 2.2.25.1
Any help with this would be greatly appreciated. I really like starting conversations using OnEnable(), so it's a really big issue for me to not be able to do that.
Thank you for your time, and I look forward to hearing from you.