[Solved] I am desperate from this issue

Hello,
A year ago, I stopped using GDevelop due to errors that occurred while working on it. I returned after a year, hoping that it had become better after a full year of updates. The idea was simple: to create a test based on choosing from four options. I continued working until I finished it, and tried it more than once. I would find an error and return to the program to find that there was no error, and I doubted myself. Finally, there were no more errors occurring while running the exam. I tried it twice, once by choosing all the correct answers, and once by choosing the wrong answers. Everything was fine. I decided to show it to some friends, and then the program stopped moving from one question to another. We restarted it and it moved easily. We restarted it and it stopped again at another question. I returned to the codes and did not find an error. Then I restarted it and the error appeared in a question other than the previous two. I said that perhaps the reason was that I was testing it through the preview, so I extracted it in the form of an EXE program. Unfortunately, these errors appear even though the codes do not contain an error. It is a program that works as it pleases. Sometimes the entire exam passes without a single error, and other times it stops. W

  • List item

hen an error occurs that wasn’t previously reported, my efforts and time go to waste. Unfortunately, I couldn’t complete my project because I couldn’t guarantee the results. So, I decided to share this experience with you. Is there anyone like me who has encountered these recurring errors despite the correctness of the code?

A program does as it’s instructed. We’re not at the stage of computing where programs think for themselves.

If an errors occur with a pattern, then it’s quite likely to be a coding, data or logic error. Things to look for - is it the same question that causes the issue? Is the same question slot? Is it after X number of attempts, correct or wrong?

If the error occurs seemingly randomly, then it could be any part of the game that generate a random number.

If you’re still stuck, describe what you do to get the error, zip up the project, put it on a shared drive and provide the link (PM me if you wish). I can have a look at it and see if I can work out where it’s going wrong.

1 Like

Hi all!

Amazing that somebody can think that a program can be capricious in its results! A program such as GDelop can of course have bugs but to interpret the result according to his mood, I do not believe.
Managing myself alone so far to create games, I can assure that when it does not work as I want, most of the time, it is my fault or due to my lack of knowledge of the engine.

And i am sure MrMen will find the problem.

A+
Xierra

I think it’s entirely natural to blame the engine when things go wrong. We’ve all looked for something the we had a minute ago and thought someones taken it, moved it or hidden it only to find it in our pocket a few minutes later. I haven’t yet had a problem with g develop that wasn’t my fault (other than sounds on channels and the way that it works with iOS) I have had problems due to not fully understanding to way that a proces is being implemented by the engine. Sometimes a self inflicted problem has been so laughably obvious once discovered that I just have to shake my head and curse…often it’s copying and pasting and not changing a variable name, or it’s been so subtle that it’s almost beautiful. The only problems I’ve had bug wise with develop itself have been more with the editor or piskel and I would imagine that these are due to the way that gdevelop is interacting with windows. I think that it might possibly be that you’ve misunderstood the way that the processes are being implemented but it is entirely natural to question the machine when things go wrong.

1 Like

Thank you all for the reply and clarification, but I do not doubt my codes because the matter is simply that you run the program and it works completely and correctly one time, and another time it stops working, that is, it does not move to the next question… That is the only problem, and I will do what you asked of me, my brother Mrmen

1 Like

The issue was that you turned off interactions with Buttons once a button was pressed, but never turned the interactions back on. So the second set of questions could never be answered because the buttons weren’t clickable.

1 Like

Hey! Totally get your frustration. GDevelop can definitely throw some weird bugs now and then, especially with more complex projects. Maybe try updating to the latest version or exporting your project in a different format to see if the issue still happens. Also, I’d recommend checking out the official GDevelop forum or their Discord — folks there are usually pretty helpful with this kind of stuff.

1 Like

The issue was resolved - see my response (just before your one).