carlself / TimelineController

An extension to Unity Timeline that supports runtime object bindings.
https://forum.unity.com/threads/timeline-tool-that-supports-runtime-binding.1357475/
MIT License
46 stars 4 forks source link

Animation Playback Fails After Build - Links Seem to Be Broken #1

Open corpvs2 opened 1 week ago

corpvs2 commented 1 week ago

I’m reaching out to report a problem that occurs after building the game. When running the game in the editor Mode, creating objects and binding them works fine, and animations play as expected. However, after the build, the animations cannot be played.

It seems that the timeline prefab bind information might be getting lost upon building.No error messages are displayed.

Unity Version:2021.3.14 HDRP

Test with comparison of Instantiation Methods - Direct Prefab Instant And. Addressables

corpvs2 commented 1 week ago

Apologies, I tested it again and it seems to have worked.

corpvs2 commented 1 week ago

is must use tc = timeLineRuntime.GetComponent(); tc.Play(() => Debug.Log("TimelineController Complete")); Do not use playableDirectorRuntime.Play();---in build mode