I created a new scene in a Windows native project, then linked it to an external event and a few events. When I was trying to preview it I got this error:
I was trying to look for the LastestCompilationOutpu.txt but it’s empty.
The scenes that were previously made can be previewed without any problem. I tried reinstalling Gdev but it didn’t fix anything.
I created a new project and everything works.
I’ll appreciate any help since it’s a project I have been working all this year
Nop it has one event. Also I noticed that it wasn’t linking the events of the external event to the scene because at first it let me see the preview but any event was running then after it showed that error and now it only shows the error
I always rename first and then create the links and also I don’t write them I choose them from the drop menu to avoid typos so I’m pretty sure they had the same name.
It’s the first time that happened to me and just recently on this project. I’ll try to see of I find something more or if I’m doing any mistake that may be causing but at the momment it’s everything I have noticed when it shows the error
I have also experienced this problem when I renamed external events also when I renamed objects, scenes, layouts.
Sometime, GDevelop having trouble to save the changes for some reason but difficult to reproduce.
Can be frustrating when it happens. I always do the following things to fix errors caused by renaming staff:
Save the project with the changes, close it and re-open it, sometime it solve the error.
If saving and re-opening the project doesn’t solve the problem, open the project file in a text editor and find the reference (CTRL+F) with the old name (because that is causing the problem) and change it manually in the text editor then save it. But before do this, make sure you have a copy of your project file
You can also try to create a new external event with the new name, copy the events from the old one then delete the old and make sure you also delete all the links to it, finally add a link to the new external event and save it.
Yup Following any of these steps will help to solve the problem so, if anyone is having a similar issue you can follow what @ddabrahim said and it will work again.