Skip to content

[Fixed] According to Unity's Script Reference, "The frameId is incremented by `1` for every call to Playable.PrepareFrame." However, when manually evaluating a PlayableGraph, the frameId is incremented by `2` for every call to Playable.PrepareFrame.

Notifications You must be signed in to change notification settings

zdirtywork/Fixed_Unity-Bug-Report-Playable-IN-50605

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

[Fixed] Unity-Bug-Report-Playable-IN-50605

Fixed in 2023.3.0b5.

About this issue

When manually evaluating a PlayableGraph, the FrameData.frameId is not consecutive.

According to Unity's Script Reference, "The frameId is incremented by 1 for every call to Playable.PrepareFrame."

However, when manually evaluating a PlayableGraph, the frameId is incremented by 2 for every call to Playable.PrepareFrame.

Note:

How to reproduce

  1. Open the "Sample" scene.
  2. Enter Play mode.
  3. Observe the content of the logged messages in the Console window.

Expected output: frameId - lastFrameId = 1.

Actual output: frameId - lastFrameId = 2.

About

[Fixed] According to Unity's Script Reference, "The frameId is incremented by `1` for every call to Playable.PrepareFrame." However, when manually evaluating a PlayableGraph, the frameId is incremented by `2` for every call to Playable.PrepareFrame.

Topics

Resources

Stars

Watchers

Forks

Languages