Dmengine doesn't work on samsung phones

I found the 162 version of the editor in my bins. Installed the same dmengine 162.
Checked - IT WORKS!
But it’s a very loooooong start.

Log as example:
WARNING:DLIB: Profiler Engine.Init took 10.684 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 4.137 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 4.602 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 4.602 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 4.602 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 4.602 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 4.602 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 4.602 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 4.603 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 4.603 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 4.603 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 4.603 seconds
WARNING:DLIB: Profiler Resource.UpdatePreloader took 4.605 seconds
WARNING:DLIB: Profiler GameObject.collectionproxyc took 4.654 seconds
WARNING:DLIB: Profiler GameObject.Update took 4.655 seconds
WARNING:DLIB: Profiler Engine.Sim took 4.657 seconds
WARNING:DLIB: Profiler Engine.Frame took 4.663 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 7.452 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 3.748 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 6.676 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 20.999 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 20.999 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 20.999 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 20.999 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 20.999 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 20.999 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 20.999 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 20.999 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 20.999 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 21.000 seconds
WARNING:DLIB: Profiler Resource.UpdatePreloader took 21.000 seconds
WARNING:DLIB: Profiler GameObject.collectionproxyc took 21.049 seconds
WARNING:DLIB: Profiler GameObject.Update took 21.049 seconds
WARNING:DLIB: Profiler Engine.Sim took 21.054 seconds
WARNING:DLIB: Profiler Engine.Frame took 21.063 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 3.071 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 3.124 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 6.090 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 9.183 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 21.435 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 21.435 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 21.435 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 21.435 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 21.435 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 21.435 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 21.435 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 21.435 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 21.435 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 21.435 seconds
WARNING:DLIB: Profiler Resource.UpdatePreloader took 21.445 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 10.167 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 10.159 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 10.159 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 10.159 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 10.159 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 10.159 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 10.159 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 10.159 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 10.159 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 10.159 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 10.159 seconds
WARNING:DLIB: Profiler Resource.UpdatePreloader took 10.159 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 12.456 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 12.448 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 12.448 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 12.448 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 12.448 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 12.448 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 12.448 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 12.448 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 12.448 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 12.448 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 12.448 seconds
WARNING:DLIB: Profiler Resource.UpdatePreloader took 12.448 seconds
WARNING:DLIB: Profiler GameObject.collectionproxyc took 44.080 seconds
WARNING:DLIB: Profiler GameObject.Update took 44.080 seconds
WARNING:DLIB: Profiler Engine.Sim took 44.083 seconds
WARNING:DLIB: Profiler Engine.Frame took 44.095 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 12.140 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 12.209 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 12.209 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 12.209 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 12.209 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 12.209 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 12.209 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 12.209 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 12.209 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 12.209 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 12.209 seconds
WARNING:DLIB: Profiler Resource.UpdatePreloader took 12.209 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 5.185 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 5.185 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 5.185 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 5.185 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 5.185 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 5.185 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 5.185 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 5.186 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 5.186 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 5.186 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 5.186 seconds
WARNING:DLIB: Profiler Resource.UpdatePreloader took 5.186 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 9.901 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 10.352 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 10.352 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 10.352 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 10.352 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 10.352 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 10.352 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 10.352 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 10.352 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 10.352 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 10.352 seconds
WARNING:DLIB: Profiler Resource.UpdatePreloader took 10.352 seconds
WARNING:DLIB: Profiler GameObject.collectionproxyc took 28.407 seconds
WARNING:DLIB: Profiler GameObject.Update took 28.407 seconds
WARNING:DLIB: Profiler Engine.Sim took 28.411 seconds
WARNING:DLIB: Profiler Engine.Frame took 28.425 seconds
WARNING:DLIB: Profiler Resource.LoadResource took 3.932 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 3.923 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 3.923 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 3.923 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 3.923 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 3.923 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 3.923 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 3.923 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 3.923 seconds
WARNING:DLIB: Profiler Resource.DoPreloaderUpdateOneReq took 3.923 seconds
WARNING:DLIB: Profiler Resource.PreloaderUpdateOneItem took 3.923 seconds
WARNING:DLIB: Profiler Resource.UpdatePreloader took 3.923 seconds
WARNING:DLIB: Profiler GameObject.collectionproxyc took 4.728 seconds
WARNING:DLIB: Profiler GameObject.Update took 4.728 seconds
WARNING:DLIB: Profiler Engine.Sim took 4.731 seconds
WARNING:DLIB: Profiler Engine.Frame took 4.738 seconds

I found the only configuration when it works:

  1. Reboot the PC and reinstall defold 162.
  2. Uninstall dmengine, reboot the phone and reinstall dmengine 162.
  3. Run defold, start dmrengine, build the project.
  4. Wait 15 minutes !!! (I waited 13 minutes 36 seconds with a stopwatch)

This works in most attempts.
I remind you that the project weighs only 6 MB and there is nothing in it except a couple of backgrounds and a monarch.

When working under dmengine - dynamic loading even empty windows in the monarch is very long, up to 2 seconds. There is no such thing in release build.

Wow, yeah, this is obviously bad. Can you please try connecting using USB as well?

We have managed to reproduce the problem in the office as well. Although it happens for devices other than Samsung as well.

This works flawlessly. Please enable USB Tethering and connect using USB while we try to figure out what’s wrong with the wifi connection.

1 Like

Doesn’t work.
I connected desktop with the phone via USB as a modem, the internet works.
After that I launched dmengine on Note 10. But the device doesn’t appear in the Targets section.

Is this from “Mobile Hotspot and Tethering” -> “USB Tethering”?

yes

Ok. Well I am able to connect to a Samsung S9 on Windows 10 using USB with USB Tethering enabled.

Can someone else using Windows share their experience of connecting using USB on an Android device?

It works for me with usb internet tethering as well. It takes about 15-20 seconds to download and start a project with both wifi and usb connections.

OS: Windows 10
Tablet: Samsung Galaxy Tab S2

3 Likes

I managed to start tethering. To do this, i just had to restart the editor and dmengine.
But the project still did not work.

We’re actively investigating this. Thank you for your patience.

2 Likes

Our findings so far:

  • Not restricted to Samsung phones
  • The dmengine application hangs directly after reboot, trying to connect to the file server inside the editor. It will timeout, and produce the “unable to load project file” error message.
  • Connecting to the file server locally from a command prompt works fine
  • Disabling the private network in the Windows Firewall (not recommended) will make the connection work

We’re further investigating how to solve this issue in a more satisfactory manner, but I thought I should update you of our current findings.

1 Like