ソースを参照

Added HTML5 FAQ note on line-endings on Windows

Björn Ritzl 4 年 前
コミット
0af9db6f2b
1 ファイル変更5 行追加0 行削除
  1. 5 0
      docs/en/shared/html5-faq.md

+ 5 - 0
docs/en/shared/html5-faq.md

@@ -5,3 +5,8 @@ A: In some cases it is not possible to run a game in the browser locally from th
 ```sh
 $ python -m SimpleHTTPServer [port]
 ```
+
+
+#### Q: Why does my game crash with error "Unexpected data size" while loading?
+
+A: This usually happens when you are using Windows and make a build and commit it to Git. If you have the wrong line-ending configuration in Git it will change your line endings and thus also the data size. Follow these instructions to solve the problem: https://docs.github.com/en/free-pro-team@latest/github/using-git/configuring-git-to-handle-line-endings