ID 549669 - BlinkScript soft effects fail to compile when declaring custom functions

Follow

Problem summary
BlinkScript soft effects fail to compile when declaring custom functions.
This issue only happens with the BlinkScript soft effect on Nuke Studio's timeline, and not with the BlinkScript node in the Node Graph.
 
Customer reported version
Nuke 14.0v5
 
Customer reported platform
CentOS 7
 
Steps to reproduce
 
1) Open Nuke Studio.
 
2) Import (File > Import File(s)...) any file and drop it on to the timeline.
 
3) Right click the shot on the timeline > Soft Effects > BlinkScript
 
4) Add the  following script to the Kernel Source field and click Recompile

inline float4 bonus_mult(float4 source) {   return source*0.1; } kernel Custom_ColorMult : ImageComputationKernel<ePixelWise> {   Image<eRead,eAccessPoint,eEdgeClamped> src;                       //input image with edges clamped   Image<eWrite> dst;                                                //output image     param:     float4 color;                                                   //parameter   void define() {     defineParam(color, "Custom color", float4(0.0f,1.0f,0.0f,0.0f));//default value   }     void process() {     dst() = bonus_mult(src()) * color;                                          //input multiplied by our color   } }; 
 
RESULT: You should see the following popup dialog:
 

 
As well as the following errors in Command Prompt/Terminal:
LabelStmt 0x280ea7aa2b8 '_fc_inlExit_3'`-NullStmt 0x280ea7aa2d8
 
5) Open the Node Graph.
 
6) Create a BlinkScript node.
 
7) Add the code from step 4 to the Kernel Source field and click Recompile.
RESULT: The BlinkScript will compile as expected.
 
Expected behaviour
The BlinkScript should be compiled on the timeline, as it does in the Node Graph.
 
Actual behaviour
The BlinkScript does not compile on the timeline, but does compile in the Node Graph.
 
Workaround
Unknown. 
 
Reproduced by support
This bug has been reproduced in:
Nuke Studio 14.0v5 - Windows 10 - Linux CentOS 7
Nuke Studio 14.0v1 - Windows 10 - Linux CentOS 7 - REGRESSION
 
Unable to reproduce bug in:
Nuke Studio 13.2v8 - Windows 10 - Linux CentOS 7
 
Earliest version tested
Nuke Studio 14.0v1
- This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why