Hello All!
When creating a new, blank, C# project everything is called SampleApp (e.g. SampleApp.cryproject, namespaces are called SampleApp). I am attempting to rename these to the name of my project.
However renaming everything manually fails to let the code run. It compiles fine but doesn't work in-game. I have replaced every instance of SampleApp with my project name.
Thanks for any help. I have been trying to sort this for about 3 hours now.
Answer by Cry-Miron-1 · Sep 08, 2017 at 09:53 AM
Make sure you also change the target .dll file in cryplugin.csv file. You can open this file in notepad and adjust the bin/win_x64/SampleApp.dll to bin/win_x64/{YourProjectName}.dll. Also check if there are any references to SampleApp in the SampleApp.cryproject file to make sure every reference is changed.
We're also releasing preview builds of CRYENGINE 5.4 which have better C# support. You can find more information about the latest preview here https://www.cryengine.com/news/cryengine-540-preview-7