# Unable to load asset from mobile device

**URL:** <https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249>\
**Category:** Help & Questions\
**Created:** [April 3, 2023, 10:52am UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249 "2023-04-03T10:52:09Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![afan\_sher](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/afan_sher/32/191_2.png) [@afan\_sher](https://forum.deepar.ai/u/afan_sher)\
**Post date:** [April 3, 2023, 10:52am UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249/1 "2023-04-03T10:52:09Z")

</div>

![image](https://europe1.discourse-cdn.com/flex017/uploads/deepar/original/1X/84f96ecc2e9a32d4ec420ead09b8caf824371400.png)  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/deepar/original/1X/b51d84c4f78b2d1bf80e2f53860641747d63b889.png)

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [April 3, 2023, 11:35am UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249/2 "2023-04-03T11:35:59Z")

</div>

Can you detail out what happens here? The issue seems to be with file handling since deepar will read a file if it’a found.

---

<div class="post-metadata">

**Author:** ![afan\_sher](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/afan_sher/32/191_2.png) [@afan\_sher](https://forum.deepar.ai/u/afan_sher)\
**Post date:** [April 3, 2023, 11:40am UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249/3 "2023-04-03T11:40:30Z")

</div>

it shows this error after i try to access specified filter

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/deepar/original/1X/bcd8d1ee7c39a0ff58b1c31b36d95fef9ee68a40.png)

---

<div class="post-metadata">

**Author:** ![afan\_sher](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/afan_sher/32/191_2.png) [@afan\_sher](https://forum.deepar.ai/u/afan_sher)\
**Post date:** [April 3, 2023, 11:40am UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249/4 "2023-04-03T11:40:54Z")

</div>

i have checked application directory file is already present there

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [April 4, 2023, 3:13pm UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249/5 "2023-04-04T15:13:18Z")

</div>

Can you send the exact effect file over. It could have gotten corrupted maybe.

---

<div class="post-metadata">

**Author:** ![afan\_sher](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/afan_sher/32/191_2.png) [@afan\_sher](https://forum.deepar.ai/u/afan_sher)\
**Post date:** [April 4, 2023, 12:03pm UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249/6 "2023-04-04T12:03:01Z")

</div>

I want to load .deepar asset files from my mobile device during runtime

---

<div class="post-metadata">

**Author:** ![afan\_sher](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/afan_sher/32/191_2.png) [@afan\_sher](https://forum.deepar.ai/u/afan_sher)\
**Post date:** [April 4, 2023, 3:24pm UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249/7 "2023-04-04T15:24:23Z")

</div>

that file i have tested it and it was working all fine, but i think main problem is incorrect way to loading asset from mobile, i would be highly thankful i you could help me in that

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [April 4, 2023, 3:35pm UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249/8 "2023-04-04T15:35:14Z")

</div>

Do any of the files work ar do they all have the same error?

---

<div class="post-metadata">

**Author:** ![afan\_sher](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/afan_sher/32/191_2.png) [@afan\_sher](https://forum.deepar.ai/u/afan_sher)\
**Post date:** [April 4, 2023, 4:12pm UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249/9 "2023-04-04T16:12:41Z")

</div>

they all are showing same error, I think I am mistaking in loading asset,  
I am currently using the default Flutter code provided by DeepAR for testing purposes. While I have made some modifications to the \_initEffects() function

---

<div class="post-metadata">

**Author:** ![afan\_sher](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/afan_sher/32/191_2.png) [@afan\_sher](https://forum.deepar.ai/u/afan_sher)\
**Post date:** [April 4, 2023, 4:13pm UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249/10 "2023-04-04T16:13:16Z")

</div>

rest of the code is same

---

<div class="post-metadata">

**Author:** ![afan\_sher](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/afan_sher/32/191_2.png) [@afan\_sher](https://forum.deepar.ai/u/afan_sher)\
**Post date:** [April 4, 2023, 8:52pm UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249/11 "2023-04-04T20:52:14Z")

</div>

my real question is how can we load asset at runtime from our mobile device in DeepAr example flutter environment

---

<div class="post-metadata">

**Author:** ![afan\_sher](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/afan_sher/32/191_2.png) [@afan\_sher](https://forum.deepar.ai/u/afan_sher)\
**Post date:** [April 4, 2023, 8:52pm UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249/12 "2023-04-04T20:52:41Z")

</div>

in \_maskList.add() we can only add asset at compile time only

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [April 5, 2023, 11:47am UTC](https://forum.deepar.ai/t/unable-to-load-asset-from-mobile-device/249/13 "2023-04-05T11:47:24Z")

</div>

The download approach works with native, maybe try talking to the flutter team directly for more info on flutter specific issues

> **[GitHub - DeepARSDK/deepar-flutter-plugin: Deep AR SDK for Flutter.](https://github.com/DeepARSDK/deepar-flutter-plugin)**
>
> Deep AR SDK for Flutter. . Contribute to DeepARSDK/deepar-flutter-plugin development by creating an account on GitHub.

Best  
Jelena
