+2 votes

I downloaded a Godot project awhile ago and I have been improving and making it all my own. When I run it in Godot everything is fine and MY work plays. I tried to export the project to HTML and host it on Github pages but somehow when it runs there it reverts back to the original project and does not use all my work.

Has anyone encountered this?
Thanks

Godot version 3.2.3
in Engine by (23 points)

I've never had any trouble hosting on itch.io. Maybe it's an issue with GitHub?

Did you definitely configured the main scene correctly? What happens if you press F5 in the editor? Have you tried to remove the old build before building a new one?

1 Answer

0 votes

Before following these steps check your GitHub pages website to make sure the problem is still there.

  1. From Godot export the project as HTML to a brand new empty local folder. (Make sure you export it as index.html since you intend to use the GitHub pages feature.)
  2. Delete every file from the GitHub repository and commit those changes.
  3. With the repository now empty, upload the newly exported files from your local folder to GitHub and commit that change. Note it takes some time for the changes to take effect on the GitHub servers ~5 minutes or so.

If the problem persists after following those steps there could be a bug in the export process for HTML, which you can notify the Godot developers of on GitHub.

by (3,870 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.