Dear Godot Community,

I am a new Godot developer who just started a couple months ago, and I am currently making a top down 2d game. Everything has been going smoothly until this point. Today I created some art and when after uploading it all to godot, something went wrong. I uploaded the art to an enemy scene,(that worked completely fine before) and two major things happened. First, I was not able to duplicate the scene and create multiple enemies (before this I was able to create multiple enemies that all worked) and the node kept spawning in a position that I did not set it to. I was able to somewhat fix the first issue, but the second issue has been driving me insane. I am 90% sure that it is not the script (I have even detached the script from the node, but the node still spawns in this weird position). I have also made sure to keep everything at (0,0) in the enemy scene, however the enemy spawns in the same place every single time. In case this matters, the enemy spawns at (580, 137) everytime (no matter where I drag it in my scene).

Any help would be significantly appreciated.

Also this is my first post on the forum so I apologize for any issues.

  • For anyone wondering, I was able to fix the issue, however, it involved re-importing an older (working) version of the enemy scene. In other words, the problem is gone, but I could not directly fix the issue.

I'm afraid this sounds like something where you'd have to share some or all of your project with the others here for any of us to be able to help debug this.

    If you make a .zip file of the project folder (exclude the .import subfolder), how big is the .zip?

      To better understand the issue, here is some quick pictures, however I am also working on uploading my project at the moment.



      The first photo is my enemies scene tree, the second photo is where I placed the node, and the last photo is where the node spawns (it was taken as soon as I loaded the game).

      DaveTheCoder How can I exclude the .import subfolder, since when I create the zip, there is no .import folder? There is also no .import folder in the original folder. With the .import subfolder however, the zip is 13.1 MB

        You can also upload the .zip to some other file hosting services such as dropbox or google drive.

        areg08 There is also no .import folder in the original folder.

        Files that start with a "." may be hidden in the default view. You should be able to delete it from the .zip. That often makes the .zip much smaller.

        The .import folder gets automatically recreated, so there's no reason to provide it when uploading or backing up a project.

          DaveTheCoder Yes, i found it, the .import folder is 3MB so without it, my zip file would be 10.1 MB

          I apologize in advance for the terrible file structure and organization, I fixed it, but then the project got corrupted, and I had to use the backup which is very unorganized. If you want to access the main scene, you can do it through Work > TSA PROJECT WORLD > World.tscn

          areg08 See if you can access it with this link.

          I can't access it. It wants me to log in to Google, and my Google login isn't working at the moment.

          But maybe someone else can access it.

            For anyone wondering, I was able to fix the issue, however, it involved re-importing an older (working) version of the enemy scene. In other words, the problem is gone, but I could not directly fix the issue.