This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

I'm using Godot v3.5.1.stable.official [6fed1ffa3]
Trying to change scenes.

Works fine when run within the Editor. If run as HTML5 from the editor gettree().changescene("res://pathtotscn") fails with ERRCANTLOAD (error=19).

Also tried exporting to HTML and running from a web server. Same error.

The core code works as I previously had everything in one scene and decided to split the UI into separate scenes.

Any Ideas or suggestions are welcome.

Godot version v3.5.1.stable.official [6fed1ffa3]
in Engine by (94 points)

1 Answer

0 votes

Here is the answer for those that might encounter this same problem stumble across this post.

The problem was the HTML5 export config. I had previously changed the "Export Mode" setting to "Export selected resources (and dependencies)" so .txt files will be included in the export.

During refactoring a scene moved to new folder which was not selected in the "Resources to export" tree.

Also be aware the HTML5 export config is used when launching HTML5 from the editor (by clicking small HTML5 logo button on the top right menu).

by (94 points)

I am experiencing the same problem, but my Godot export setting is set to export all resources in the project.

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.