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

[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.

Home Page:https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-49593

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[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.

https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-49593


Languages

Language:C# 100.0%