Page 1 of 1

the PlayableGraph is null when play Timeline

Posted: Sun Mar 03, 2024 4:45 am
by nuttaphoom
There is an error at line 151 saying The PlayableGraph is null.
Screenshot 2024-02-29 221822.png
Screenshot 2024-02-29 221822.png (257.4 KiB) Viewed 167 times
I attached PlayableDirector to an object named TuitorialCutscene_ExplainMap and it is autmatically played on Awake.
Screenshot 2024-03-03 163119.png
Screenshot 2024-03-03 163119.png (585.73 KiB) Viewed 167 times
I'm not sure what information I should mention in this post as I literally create empty obj => assign PlayableDirector component => assign Playable asset and than play

this is what Playable asset look like
Screenshot 2024-03-03 163939.png
Screenshot 2024-03-03 163939.png (56.92 KiB) Viewed 167 times
If you want more detail or my project file to investigate further into the matter feel free to let me know.

Re: the PlayableGraph is null when play Timeline

Posted: Sun Mar 03, 2024 10:09 am
by Tony Li
Hi,

Temporarily set the Dialogue Manager's Other Settings > Debug Level to Info to get more information in the Console window. Make sure the Timeline() command is using the GameObject that you intend.

If that doesn't help, please send a reproduction project to tony (at) pixelcrushers.com along with the steps I should follow to reproduce the issue.

Re: the PlayableGraph is null when play Timeline

Posted: Sun Mar 03, 2024 7:21 pm
by Tony Li
Hi,

Thanks for sending the reproduction project. I'll check it and reply here by tomorrow.

Re: the PlayableGraph is null when play Timeline

Posted: Sun Mar 03, 2024 10:33 pm
by nuttaphoom
Thanks ! I will be waiting for you reply