Closed WithinAmnesia closed 1 week ago
This issue is fairly common on Windows, and one possible fix is to run Godot as an administrator. The import errors could also be related to permission issues when accessing certain files.
Another thing to note is that Iโve updated the project with new tags such as โgame-server,โ โgateway-server,โ and โmaster-server.โ These changes are meant to improve how the servers are managed and allowing multiple game and gateway servers in the future.
To avoid issues with zipping and unzipping the project, I recommend using git for version control. This way, only the modified files will be updated, and it should prevent any problems with file imports.
https://github.com/SlayHorizon/godot-tiny-mmo-demo/issues/34#issuecomment-2428582770 I'm looking to solve the import errors. I might have solved these error types before with reddit / Godot help thread solutions across some previous Godot projects. Also here are some thoughts / hunches / ideas / possibles solution leads / things to think about:
๐ ๐ โจ
Just tried the project from the downloaded zip and it's working fine on my side. Be sure to run Godot as an administrator. Next version of Godot should fix the possible import issues as you mentioned but I'am waiting it to be in a stable state before moving the project to it.
https://github.com/SlayHorizon/godot-tiny-mmo-demo/issues/34#issuecomment-2429136378
Yeah I think that's a good idea also with waiting for 4.4 stable release. Even the Redot community who needs a launch soon is waiting for 4.4 stable to release to make sure everything works well.
I'm looking around on reddit / Godot help threads with this import issue. It happens to windows 10 it seems, it's due to either file system permissions not being amazing or some kind of Godot missing files or not reading them right and giving errors. I remember typing in the error codes looking for matches before. I'll keep looking.
I'll look for a solution then share it once it's found and tested to work.
Progress on testing / trying bug fixes:
I'm going to try disabling the safe save feature. It is recommended in the error messages. I'll try the previous methods of bug fixing with safe save off on the windows pc and see how that goes.
https://github.com/godotengine/godot/issues/16274 Also I remember with a bigger file size project needing to wait a few minutes before running the project for the first time to let Godot read all the files before running. Or not running the project right away after a new copy and paste directory project duplication. I'll keep searching.
Progress updates on bug fix testing:
Trying a new fresh project:
https://github.com/SlayHorizon/godot-tiny-mmo-demo/issues/34#issuecomment-2430454822 The errors might be due to the text system not saving properly in Godot on my end somehow due to the text file error happening when I attempt to change the run instances to be like the read me:
I'll make a copy of this working bugtest and try changing the game title to see if its saving that busted or just the run instance part to further isolate the error.
https://github.com/SlayHorizon/godot-tiny-mmo-demo/issues/34#issuecomment-2430459900 Myself starting to make a fresh bug test copy directory for clean bug testing to test the saving.
The import issue looks to be isolated to changing the run instance settings to make things work is my hypothesis. I will test this on a copy of 'Bugtest 002' as 'Bugtest 002' and only try changing the run instance with minimal changes to see if the run instance saving is bugged with windows 10 even with safe save off.
Trying my hypothesis / hunch / idea of The import issue looks to be isolated to changing the run instance settings:
[edit 'at'] SlayHorizon I need to update my testing. It looks really good though. Sorry for any ping I had out of date readme start up tabs and I need to do more bug testing.
๐ ๐ฐ ๐ โ๏ธ ๐ค ๐ โจ ๐ฏ ๐
I got it working and found the error and the new build is amazing wow its super cool, great job!
Error hypothesis: Too long of directory name and title name leads to windows 10 not being able to read files. The new build might have has built in longer paths and my testing setup broke due it being super close to running out of amount of characters / letters / numbers to keep working / saving / writing properly. I think my error tests worked due to smaller names and directory paths.
@SlayHorizon Your work has no bugs and thankfully it was on my end and it had to do with I think too long file path names that got in the way of windows 10 saving / reading and writing properly.
New info, recommend shorter project directory path (and or if needed shorter project titles also) on Windows 10 if read / write / unable to read file errors happen. Safe save works fine. This is great! The new game features are super cool. I like the experience, random names, account character slots and cool game modes on the same server with regular no rules and hardcore. It reminds me of OSRS and Path of Exile and Turtle WoW and Classic WoW. Great job too! This is super awesome and it looks super amazing! ๐ช ๐ ๐ ๐ ๐ ๐ โจ ๐ฅ ๐ฏ ๐ฐ ๐ โ๏ธ โฐ๏ธ ๐บ๏ธ ๐
Glad it's working now. The random username generator is really primitive and mainly useful for test purpose, may consider using a better one for more serious game.
It's ok I will consider changing the project name on Godot to only "Tiny-MMO" and also on Github by simply calling it "godot-tiny-mmo".
The latest build has this problem. This might be a 4.3 thing I'm not sure but this has happened with other projects before. Here are the error behavior screenshots in order when trying to play the demo:
It runs, has import errors then boots up the login screen, then it says that it cannot connect, then the load error popup shows up and it repeats in a cycle of error load import error popups until stopped. I tried to delete the Github file on the first attempt after running it for a start. Then I tried a straight from zip file unzip fresh demo project directory thinking maybe it was a directory path or copy paste issue but same errors again.
Then I tried closing Godot completely and restarting and then trying the previous steps again on a restarted Godot it was the same import error messages. Then after trying all that I tried running a fresh unzipped directory and deleting the Godot file after 1 run and its still the same import error looping issues.
I'm not sure what the issue is but it is common in other projects and I think its a known Godot issue with at least version 4.3. This might be patched out in 4.4 but that's from a not 100% clear memory of reading the patch notes for Godot 4.4 in that this might have been patched out or fixed or it was a known issue type of thing.
I've personally encountered this same issue a few times across a few Godot projects from github. Also I've done this type of load error loops myself on saving a project then zipping it. Then when unzipping I encountered the same type of load errors from I think with something like odd saved variables or settings and then the imported version after being zipped was all crazy with import error loops after the zip.
Yet the original project was fine when running. Yet the load errors only showed up in zipping the original project then unzipping a copied project after unzipping and running to make the load errors appear. I am not 100% sure what the error cause is but I figured to tell you in case it was like me where my project ran great on my pc on the original project but it had crazy import errors with the copied project after zip due to like Godot file or import or github ignore or something like that not liking the zip, copy, paste, unzip and run process of testing.
The other patches ran super great its just the new one is all. It looks really good and I look forward to playing it. This is awesome and great job on this so far. It's super cool. ๐ ๐ ๐ฏ