ID 519074 - Chained Bake Points can go out-of-date when projects are reopened

Follow

Problem summary
Chained Bake Points can go out-of-date when projects are reopened
 
For Mari versions 4.8v1/5.0v1 -> 4.8v4/5.0v4, this issue occurs if the project is being reopened in a different version. For only Mari 4.8v1 and 5.0v1, reopening the project in the same version will also reproduce the issue. The versions affected in each way are listed in the 'Reproduced by Support' section.
 
The reproduction steps below use Mari 4.8v4 > 5.0v4, but the bug can also reproduced using 4.8v1 > 4.8v4, 5.0v1 > 5.0v4 etc.
 
Customer reported version
Mari 4.8v4
 
Customer reported platform
Multiple
 
Steps to reproduce
 
1) Open a project in Mari 4.8v4

2) Create a Cloud node

3) Connect two Bake Point nodes downstream in a chain:
 


 
4) Bake both Bake Points
 
5) Save the project and exit Mari
 
6) Launch Mari 5.0v4 and load the same project
 
Expected behaviour
The Bake Points should stay up-to-date and green as nothing upstream has changed.
 
Actual behaviour
After the Shader finishes compiling, the second Bake Point turns red/out-of-date:
 

 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced after loading projects from an older version in:
Mari 5.0v4 - CentOS 7.9 - Windows 10
Mari 4.8v4 - CentOS 7.9
Mari 5.0v2 - CentOS 7.9
Mari 4.8v2 - CentOS 7.9
Mari 5.0v1 - CentOS 7.9
Mari 4.8v1 - CentOS 7.9 - regression
 
This bug has also been reproduced after loading projects from the same version in:
Mari 5.0v1 - CentOS 7.9 - Windows 10
Mari 4.8v1 - CentOS 7.9 - Windows 10
 
Note: Opening projects from Mari 4.7 and earlier on Windows, or 4.6 and earlier on Linux, will result in both Bake Points turning red due to bug ID 519050.
 
Unable to reproduce bug in:
Mari 4.7v7 - CentOS 7.9 - Windows 10
 
Earliest version tested
Mari 4.7v7 - This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why