My game runs fine until I upload to server. I get this error:

My game runs fine on my computer, but I get this error:

Uncaught (in promise) DOMException: A network error occurred.

It seems to be referring to the <!DOCTYPE html> tag.

I changed the name of the project at one point while working. Would that have something to do with it?

Are you saying that there is a problem when running on a different system, or that openfl test html5 works fine, but this error is printed in the console (despite everything working properly)?

Thanks :slight_smile:

1 Like

Strangely, I removed an underscore from the filename of my font, and it worked. I have no clue why, but it did. I couldn’t figure out how to delete my post, but thanks for replying.

1 Like