Problem summary
When reading an FBX file into a Light node, it is always read in at a frame rate of 24 frames per second instead of using the frame rate in the file or the Nuke Project Settings.
According to the documentation, the frame rate from the file should be used and only overridden if "use frame rate" is checked.
See Importing Lights from FBX Files:
"If you want to override the frame rate used in the .fbx file to sample the animation curves, enter a new frame rate (frames per second) in the frame rate field. Check use frame rate to use the rate you entered (rather than the one in the .fbx file)."
Instead, it seems like the frame rate setting it used even if "use frame rate" is unchecked. However, when copying and pasting a Light node that has the frame rate set to the equivalent of the file's fps and "use frame rate" checked, the keyframes still come in as if the frame rate was 24.
Customer reported version
Nuke 10
Steps to reproduce
1) Create a Light node and check "read from file".
2) In the File tab of the node, set frame rate to 30. Leave "use frame rate" unchecked.
3) Import the attached file "fbx2012fps30".
4) Inspect the animation in the Viewer and in the Dope Sheet (zoom out to see the whole scene).
5) Copy and paste the Light node and look at the animation and Dope Sheet. The animation from the pasted node is cut off at frame 40.
​​
6) Check "use frame rate" in the pasted node. The animation from the pasted node is updated to be complete.
7) Copy and paste the light node that has "use frame rate" checked. The animation in the resulting node again is cut off at frame 40.
When importing a light without changing frame rate on the Light Node the original imported light's animation would also be cut off at frame 40, even though the file was exported at 30 fps which is the value Nuke should be using.
This is independent from the overall project's frame rate setting.
Workaround
After importing the FBX file and setting the correct frame rate on the Light node, uncheck "read from file" to bake the animation to Nuke curves.
This will also make it possible to modify the animation, should this happen by mistake, check "read from file" again to re-import the correct values, making sure the frame rate is set correctly on the node, and uncheck it to bake.
Reproduced by support
Nuke 7.0v10,
8.0v1, 8.0v7,
9.0v1, 9.0v8,
10.0v1, 10.0v4 on Windows 7
Expected behaviour
According to the documentation the FBX's frame rate should always be used, unless "use frame rate" is checked, then the frame rate specified in the node's File tab should be used.
Actual behaviour
The frame rate of the imported light's animation always seems to respect the frame rate specified in the node. However, when copying and pasting a Light node the animation behaves as if its frame rate was set to 24 regardless of the frame rate setting and if "use frame rate" is checked or not.