[Solved] Unity timeline error. gameobject input ?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
8uddie
Posts: 12
Joined: Sun Sep 02, 2018 9:40 am

[Solved] Unity timeline error. gameobject input ?

Post by 8uddie »

Hello!, I apologize in advance if this have been answered before,

I was following the tutorial on integrating the Dialogue system with the cinemachine timeline;
(Dialogue System for Unity 2.x - Cutscene Sequences - Part 5: Unity Timeline )


Then, I ran into a problem when added 'Start conversation clip' in track. It came up with yellow error marker and some infinite added objects error appear with "Unity Exception invalid type" error. as screenshot below;

Image

Image

I figured it might have to do with GameObject input which in the video haven't been clear on what to use
I tried using 'Dialogue Actor' game object or the 'Dialogue System trigger' one .but doesnt seem to work

Am i missing something ?
Last edited by 8uddie on Wed Sep 18, 2019 12:22 pm, edited 2 times in total.
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unity timeline error. gameobject input ?

Post by Tony Li »

Hi,

What versions of Unity and the Dialogue System are you using?
8uddie
Posts: 12
Joined: Sun Sep 02, 2018 9:40 am

Re: Unity timeline error. gameobject input ?

Post by 8uddie »

I think it's the latest,
Unity 2019.2.5f1 and Dialogue system manager 2.2.0
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unity timeline error. gameobject input ?

Post by Tony Li »

Okay, I'll check it. Did you enable Timeline support? (Tools > Pixel Crushers > Dialogue System > Welcome Window)
8uddie
Posts: 12
Joined: Sun Sep 02, 2018 9:40 am

Re: Unity timeline error. gameobject input ?

Post by 8uddie »

Yup. both USE_TIMELINE and USE_CINEMACHINE
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unity timeline error. gameobject input ?

Post by Tony Li »

Hi,

I think this can happen if you've upgraded from an earlier version of the Dialogue System to 2.2.0. Unity has issues with compiling after adding new Scripting Define Symbols when some files are in Plugins (where they're supposed for be for Asset Store assets) that depend on Package Manager packages such as Timeline.

Please find the Dialogue System's Timeline scripts, which will be in:
Plugins / Pixel Crushers / Dialogue System / Scripts / Timeline
or:
Plugins / Pixel Crushers / Dialogue System / Scripts / Options / Timeline

Right-click on that folder and select Reimport.

Then do the same for the Timeline scripts in the Wrappers folder structure.

I think that should fix it.
8uddie
Posts: 12
Joined: Sun Sep 02, 2018 9:40 am

Re: Unity timeline error. gameobject input ?

Post by 8uddie »

Yea that absolutely did it!
Thank you so much , I probably should have try reimport first to see if that fix it before post it here :P

much Appreciated !
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: [Solved] Unity timeline error. gameobject input ?

Post by Tony Li »

Glad to help! Sorry about the trouble there. Unity's still in the process of introducing the Package Manager system, and it still has a few quirks like this.
Post Reply