Page 1 of 2
Tags duplicated on Trigger Event
Posted: Sun Sep 23, 2018 4:11 pm
by GorkaGames
There is a bug on a the Trigger Event script.
When you choose a tag for a filter, another tag (around 20 tags up or down) get selected. If you try to unchek the new tag, your desired tag get unselected also so you can't have the tags you want. I have around 40 tags on 2018.1
Any update on the way or am I the only one? Thanks
Re: Tags duplicated on Trigger Event
Posted: Sun Sep 23, 2018 8:19 pm
by Tony Li
Hi,
I haven't been able to reproduce this. This is the test set I'm using:
Can you email your ProjectSettings / TagManager.asset file to tony (at) pixelcrushers.com?
Re: Tags duplicated on Trigger Event
Posted: Thu Sep 27, 2018 11:06 am
by GorkaGames
Hi Tony,
I have sent you the tags by email, maybe that is also causing the giver issue, as it`s searching for more tags...
Re: Tags duplicated on Trigger Event
Posted: Thu Sep 27, 2018 12:01 pm
by Tony Li
Thanks for sending the tags. I didn't create enough tags in my test. Unity's EditorGUI.MaskField() method casts to a 32-bit int, so it can't handle more than 32 tags. I'll have to rewrite that property drawer as a custom context menu instead. I'll have a fix by the end of the day.
Re: Tags duplicated on Trigger Event
Posted: Thu Sep 27, 2018 1:00 pm
by GorkaGames
Thanks!
Re: Tags duplicated on Trigger Event
Posted: Thu Sep 27, 2018 3:15 pm
by Tony Li
Hi,
This is the fix for the Trigger Event component that supports more than 32 tags:
TagMaskDrawer_20180927.unitypackage
Re: Tags duplicated on Trigger Event
Posted: Thu Sep 27, 2018 3:21 pm
by GorkaGames
Thanks!! now works fine!!
Re: Tags duplicated on Trigger Event
Posted: Thu Sep 27, 2018 3:40 pm
by Tony Li
Glad to help! Thanks for letting me know about that issue.
Re: Tags duplicated on Trigger Event
Posted: Thu Sep 27, 2018 4:44 pm
by GorkaGames
Hi Tony,
Tags now work fine, now I have the following issues:
1. Cancel with rewire doesn't work with the GamePad (it works fine with the keyboard). "A" button works fine selecting but "B" button doesn¡t work for canceling (this issue it was also before)
2. This is new: now I can activate the quests always but when i try to leave and cancel the dialogue box shows again and again until I leave the trigger area
I close it and it shows up again.....
I don't have any error or warnings to track this....
Re: Tags duplicated on Trigger Event
Posted: Thu Sep 27, 2018 5:09 pm
by Tony Li
Hi,
GorkaGames wrote: ↑Thu Sep 27, 2018 4:44 pm1. Cancel with rewire doesn't work with the GamePad (it works fine with the keyboard). "A" button works fine selecting but "B" button doesn¡t work for canceling (this issue it was also before)
Inspect this GameObject: Quest Machine > Quest Machine Canvas > Quest Dialogue UI > Cancel Button. It has a UI Button Key Trigger component. In the Button Name field, specify the Rewired input that is mapped to the "B" button.
GorkaGames wrote: ↑Thu Sep 27, 2018 4:44 pm2. This is new: now I can activate the quests always but when i try to leave and cancel the dialogue box shows again and again until I leave the trigger area
I close it and it shows up again.....
Can you post a screenshot or description of how you're calling QuestGiver.StartDialogue()? Is it a Trigger Event component? If so, this component should only run its OnTriggerEnter() UnityEvent when it receives an OnTriggerEnter message from a GameObject that matches the specifies tag(s).