A few months ago, I noticed that dmengine stopped working on my Galaxy Note 3. Well then, anything can happen.
But now when we are developing a game on Defold, we faced with the fact that dmengine doesn’t work on samsung phones we have - S10, Note10, A70 (and Note 3). These are new models (except Note 3). On our other phones (ZTE, Blackview) it works.
We run the editor on Windows 10. The behavior is always the same - a very loooong download, and then an error java.io.IOException:
This applies to any project, including official tutorials from the site.
2020-02-17 18:26:18.423 383206 [HTTP-Dispatcher] ERROR editor.error-reporting - {:line 98}
java.io.IOException: insufficient bytes written to stream
at jdk.httpserver/sun.net.httpserver.FixedLengthOutputStream.close(FixedLengthOutputStream.java:89)
at jdk.httpserver/sun.net.httpserver.PlaceholderOutputStream.close(ExchangeImpl.java:455)
at util.http_server$response__GT_exchange_BANG_$fn__36870.invoke(http_server.clj:38)
at util.http_server$response__GT_exchange_BANG_.invokeStatic(http_server.clj:38)
at util.http_server$setup_server_BANG_$reify__36888.handle(http_server.clj:49)
at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)
at jdk.httpserver/sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:82)
at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:80)
at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:692)
at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)
at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:664)
at jdk.httpserver/sun.net.httpserver.ServerImpl$DefaultExecutor.execute(ServerImpl.java:159)
at jdk.httpserver/sun.net.httpserver.ServerImpl$Dispatcher.handle(ServerImpl.java:442)
at jdk.httpserver/sun.net.httpserver.ServerImpl$Dispatcher.run(ServerImpl.java:408)
at java.base/java.lang.Thread.run(Thread.java:834)
To be frank, I don’t think we’ve changed anything that could cause this type of behavior, as far as I know.
I know we have some speed issue when uploading, but I haven’t heard of it totally failing.
I wonder if the logcat says anything?
For the Galaxy Note 3, perhaps it was that we upgraded our lowest supported api level to 16 (Android 4.1)?
I will try to take the data from the logcat later.
Yes, my Galaxy Note 3 has Android 5.0 - i worked with Defold on this phone all summer and autumn (2019).
I’m guessing that the project has changed since then? More files = more data to transfer. What’s the size of the project if bundled? Can you build and generate a size report?
How many different machines have you tried? Have you tried on more than one network? Have you tried on macOS or Linux? Do you have antivirus software or similar that might prevent or slow down the connection?
Note 10 / S10 / A70 has systems out of the box.
On my Note 3, the software has not been updated for many years, and I definitely havn’t changed the settings since the autumn when it was still working.
This is indeed strange.
It would be great to try to pinpoint a certain release.
I wonder if it could be related to the new SSL library we added in 1.2.162.
Here is the editor for 1.2.161 (I grabbed the sha1 from d.defold.com)