No, just make sure you down load the sample that matches the plugin version you are trying to use. You downloaded master branch which is 5.3, if you download the 5.2-Locked branch then it should just compile as is. When you replaced the plugin folder you also removed an entire plugin.
Master/5.3 example also won’t work in 5.2 anyway because any BPs i have altered for 5.3 will be tagged as the newer engine version and will not function in 5.2.