# Dmengine doesn't work on samsung phones

**URL:** <https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477>\
**Category:** Bugs\
**Created:** [February 17, 2020, 3:58pm UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477 "2020-02-17T15:58:26Z")\
**Posts on this page:** 13\
**Page:** 2

<div class="post-metadata">

**Author:** ![morgerion](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/morgerion/32/6641_2.png) [@morgerion](https://forum.defold.com/u/morgerion)\
**Post date:** [February 18, 2020, 5:36pm UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477/21 "2020-02-18T17:36:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![morgerion](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/morgerion/32/6641_2.png) [@morgerion](https://forum.defold.com/u/morgerion)\
**Post date:** [February 18, 2020, 6:01pm UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477/22 "2020-02-18T18:01:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![morgerion](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/morgerion/32/6641_2.png) [@morgerion](https://forum.defold.com/u/morgerion)\
**Post date:** [February 18, 2020, 6:07pm UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477/23 "2020-02-18T18:07:49Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [February 18, 2020, 6:38pm UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477/24 "2020-02-18T18:38:26Z")

</div>

> [@morgerion](#):
>
> 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.

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

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [February 19, 2020, 9:34am UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477/25 "2020-02-19T09:34:56Z")

</div>

> [@britzl](#):
>
> Wow, yeah, this is obviously bad.

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

> [@britzl](#):
>
> Can you please try connecting using USB 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.

> **[Connecting to an Android device using USB on Windows or Linux - Running the...](https://defold.com/manuals/dev-app/#connecting-to-an-android-device-using-usb-on-windows-or-linux)**
>
> The development app allows you to push content to it over wifi. This will greatly reduce iteration time as you don’t have to bundle and install every time you wish to test your changes. You install the development app on your device(s), start the app...

---

<div class="post-metadata">

**Author:** ![morgerion](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/morgerion/32/6641_2.png) [@morgerion](https://forum.defold.com/u/morgerion)\
**Post date:** [February 19, 2020, 10:25am UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477/26 "2020-02-19T10:25:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [February 19, 2020, 10:58am UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477/27 "2020-02-19T10:58:48Z")

</div>

> [@morgerion](#):
>
> I connected desktop with the phone via USB as a modem, the internet works.

Is this from “Mobile Hotspot and Tethering” → “USB Tethering”?

---

<div class="post-metadata">

**Author:** ![morgerion](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/morgerion/32/6641_2.png) [@morgerion](https://forum.defold.com/u/morgerion)\
**Post date:** [February 19, 2020, 10:59am UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477/28 "2020-02-19T10:59:00Z")

</div>

yes

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [February 19, 2020, 12:07pm UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477/29 "2020-02-19T12:07:45Z")

</div>

> [@morgerion](#):
>
> Doesn’t work.

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?

---

<div class="post-metadata">

**Author:** ![coderm4ster](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/c/b3f665/32.png) [@coderm4ster](https://forum.defold.com/u/coderm4ster)\
**Post date:** [February 19, 2020, 1:27pm UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477/30 "2020-02-19T13:27:17Z")

</div>

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

 ![image](https://forum-defold-uploads.b-cdn.net/original/3X/d/c/dca8e64156c6156dd113b147e454dc60a6791a41.png)

---

<div class="post-metadata">

**Author:** ![morgerion](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/morgerion/32/6641_2.png) [@morgerion](https://forum.defold.com/u/morgerion)\
**Post date:** [February 19, 2020, 3:13pm UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477/31 "2020-02-19T15:13:41Z")

</div>

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

 ![3](https://forum-defold-uploads.b-cdn.net/original/3X/6/9/69e4fa9018b9829ee8eb252a30ce31931df62bbd.png)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [February 20, 2020, 4:33am UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477/32 "2020-02-20T04:33:00Z")

</div>

> [@morgerion](#):
>
> 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.

---

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [February 20, 2020, 10:09am UTC](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477/33 "2020-02-20T10:09:13Z")

</div>

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.

[Previous page](https://forum.defold.com/t/dmengine-doesnt-work-on-samsung-phones/64477.md?page=1)
