The summary of this post is: Download latest engine and use “Code -> Regenerate Project” menu item in the editor. It will regenerate the files inside your project (
DPR, LPI, DPROJ, and CastleAutoGenerated.pas
unit). We’ve made a few improvements to them, and all together it means we strongly advise you to regenerate your project. The …