Search Issue Tracker
By Design
Votes
0
Found in
Issue ID
903913
Regression
No
[API] OnPlayStateChanged is not called in Playmode when clicking on the next frame button
On a playable, the method OnPlayStateChanged is called when the PlayableGraph changes its play state. For example, when clicking play on the timeline, OnPlayStateChanged will be called on each playable on the playable graph.
In some cases, OnPlayStateChanged is not called.
1- Import the attached package.
2- Go in Play mode
3- Press Pause in the Timeline Window. (See that in the console, the Play state change is now in Pause: OnPlayStateChanged: Paused)
4- Press in the Timeline Window: Next Frame.
Bug: See that the OnPlayStateChanged is now stuck in Playing mode
Expected: Should have have a subsequent OnPlayStateChanged call to Paused.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment