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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment