Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2018.1.1f1
Issue ID
1052271
Regression
No
PlayableBehaviour.ProcessFrame isn't being called properly
How to reproduce:
1. Open the user-submitted project
2. Enter Play mode and click on the Playable Graph Window
3. In the Playable Graph Window click the upper left drop-down menu and select "Graph dude"
4. Click on the "AnimationClipPlayableWrapper", observe that It's playing and then observe the console
Expected result: an exception is thrown in the console
Actual result: the clip is playing just fine without an exception
Reproduced in: 2018.3.0a3, 2018.2.0b11, 2018.1.7f1, 2017.4.6f1, 2017.2.3p2
Couldn't test in: 2017.1.4p2
Solution:
The type of process function called on a Playable is inherently tied to the type of PlayableOutput used.
AnimationPlayableOutput will call ProcessAnimation, and will also support AnimationScriptPlayables' ProcessAnimation, whereas a ScriptPlayableOutput will call ProcessFrame on script Playables.
If the user wants his/her ScriptPlayable to both drive Animation and have ProcessFrame, it'll need to be connected to a ScriptPlayableOutput and AnimationPlayableOutput, directly or indirectly.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 2018.3):
The type of process function called on a Playable is inherently tied to the type of PlayableOutput used.
AnimationPlayableOutput will call ProcessAnimation, and will also support AnimationScriptPlayables' ProcessAnimation, whereas a ScriptPlayableOutput will call ProcessFrame on script Playables.
If the user wants his/her ScriptPlayable to both drive Animation and have ProcessFrame, it'll need to be connected to a ScriptPlayableOutput and AnimationPlayableOutput, directly or indirectly.
We have updated our documentation to better reflect this.