Open clementshimizu opened 4 years ago
I think i found the bug in GameplayIngredients.Rig.DirectorControlRig->Update line 64
director.time = newTime
should be
if (m_PlayMode == PlayMode.Reverse) {
director.time = newTime < 0 ? 0 : newTime;
} else {
director.time = newTime > director.playableAsset.duration ? director.playableAsset.duration : newTime;
this change prevents the timeline from being played outside of the playable region if for example the time step is greater than one fps. Not sure if this is the correct fix because the code needs to be changed in the package manager library.....
Sometimes, but not always the hologram table animation galaxy state animation starts playing but then it closes before you have the opportunity to click on anything. The "FTL target system" loading bar is up and blinking. But the galaxy faded out to nothing.
I have been able to find is state machine attached to hologram table (if i make the state public) is at Galaxy and the animation on galaxy/GalaxyFadeIn is a few frames beyond the end of the animation if the bug occours, and at the blue line if the bug doesn't occur. I am unsure if that is normal or not, but if i rewind the animation back to the blue line the galaxy comes back.
This is what it looks like when the bug does not happen:![image](https://user-images.githubusercontent.com/6559516/63979493-ff599480-ca86-11e9-9e72-e9e30402413a.png)
This is what it looks like when the bug happens:![image](https://user-images.githubusercontent.com/6559516/63978656-dcc67c00-ca84-11e9-889e-1230ea8cd790.png)