Page 1 of 1

Copy event is not working on some of the components

Posted: Sat Oct 21, 2023 2:21 pm
by joeylu
Hi Tony,
after upgrading to unity 2022.3x LTS, some of your components, for instance, triggerEvent, I cannot right click on the event() field and copy the event persistented values any more. But in dialogue editor conversation tab, for event and scene events, I'm still able to do the copy/paste part.
I also did a test, create a new script and add something like public UnityEvent onTrigger, seems not allowing me to right click the event as well. So there must be some magic to make the unity event copy/paste? Any ideas? tks

Re: Copy event is not working on some of the components

Posted: Sat Oct 21, 2023 3:42 pm
by Tony Li
Hi,

The Dialogue Editor has some extra code to copy-paste things, but TriggerEvent uses the standard Unity editor functionality. It sounds like the version of 2022.3.x that you're on may have a bug, or it may be caused by a third party editor extension such as Odin.

Re: Copy event is not working on some of the components

Posted: Tue Jan 16, 2024 8:11 am
by Lorcan77
Tony Li wrote: Sat Oct 21, 2023 3:42 pm Hi,

The Dialogue Editor has some extra code to copy-paste things, but TriggerEvent uses the standard Unity editor functionality. It sounds like the version of 2022.3.x that you're on may have a bug, or it may be caused by a third party editor extension such as Odin.
Hi guys
It seems that in version 2022.3.x of Unity, there might be a potential bug affecting the standard functionality of TriggerEvent, or it could be attributed to third-party editor extensions like Odin.

Re: Copy event is not working on some of the components

Posted: Tue Jan 16, 2024 9:57 am
by Tony Li
Hi,

If you're not using DS version 2.2.42+, please back up your project and update. It has some code to handle a bug in Odin.