1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

Question - IDE [SOLVED] Getting Stuck at "Entering Main Loop"

Discussion in 'GameMaker Studio 2 Community Tech Support' started by MontyDrake, Mar 17, 2019.

  1. MontyDrake

    MontyDrake Member

    Joined:
    Sep 18, 2016
    Posts:
    29
    I have this project I save into a new version every few weeks to keep some kind of version control and make backups of any previous versions.

    Today, after an extensive coding session, I tried to run the project and it didn't start. Output window's last message was "Entering main lop" and that's all. Tried to check if there was anything wrong with my code, any potential loops in it, but to no avail.

    I run the inmediately previous version, saved just a few hours back, and it run smoothly. I coded the project again on this version to try a find out what was the origin of the problem, but there wasn't any problem at all. Previous, but updated, version started without problem.

    Then I save the working project into a new version, start it... and it gets stuck on "Entering main loop", without even touching the code, or any other resource. The only change was the name of the new project I saved it into. Tried it several times, different names, different folders, but nothing changes. Every new version of the project just stops launching.

    Anybody has any clue about this? Because I would like to know how to avoid this from happening.

    Thanks in advance.
     
  2. Maa2007

    Maa2007 Member

    Joined:
    Jul 15, 2018
    Posts:
    65
    i once had a similer problem i think,
    where the problem was i used spaces in the name of the project, try to name it without any special letters or spcaes, use _ instead of a space
     
  3. Vishnya

    Vishnya Member

    Joined:
    Jul 6, 2016
    Posts:
    65
    Try to enable debug mode and see where your code stuck
     
  4. MontyDrake

    MontyDrake Member

    Joined:
    Sep 18, 2016
    Posts:
    29
    I never use spaces, always use underscores. In fact, my working project version is called Familiar_20190223_004, and the non-working ones are Familiar_20190317_005 and Familiar_20190317_006. So thanks, but problem isn't that.

    Already tried it, but the project doesn't even start, nor the debug screens appear either. It's something else before any of that.

    Any other possibilities?
     
    Last edited: Mar 18, 2019
  5. BaBiA Game Studio

    BaBiA Game Studio Member

    Joined:
    Jun 20, 2016
    Posts:
    873
    After you have saved it to the new project name have you used the broom icon to perform a cleanup? Sometimes that fixes things as it clears out old cached versions, gets rid of temp files, etc.
     
  6. MontyDrake

    MontyDrake Member

    Joined:
    Sep 18, 2016
    Posts:
    29
    Yeah I did...
     
  7. MontyDrake

    MontyDrake Member

    Joined:
    Sep 18, 2016
    Posts:
    29
    I've solved the problem. And as I was expecting, it was all a fault of mine, silly me.

    Totally forgot that I'm working with an external .ini file to keep some info that right now I need to be external, and that .ini file is held at the working directory. Just copied the .ini file to the working directory of the new version, and it worked smoothly. I should have remebered. Anyhow, now you guys know. Always be careful with your .ini files.

    Thanks to everyone that answered giving advice.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice