Simple solution and it works for me. Go to the struct with a problem, add a dummy Variable, delete it after, and then click the save button. Follow it by File>Save All, it will recalculate and resolve some errors. Remember to do this by hierarchy, start it with the child struct/ sub-struct then go to the higher struct, and so on.
2 Likes