# Sound problem under 1.2.181

**URL:** <https://forum.defold.com/t/sound-problem-under-1-2-181/68361>\
**Category:** Questions\
**Created:** [May 5, 2021, 9:31am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361 "2021-05-05T09:31:55Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![FredZX](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/f/a9a28c/32.png) [@FredZX](https://forum.defold.com/u/FredZX)\
**Post date:** [May 5, 2021, 9:31am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/1 "2021-05-05T09:31:55Z")

</div>

A few months ago I made a simple html game. The sound worked in both android and ios mobile browsers. Now, when I prepare the same game in version 1.2.181 - sound does not work on IOS (Safari and Chromium).

When I try to compile game in older version 1.2.165 I get error for all used sounds /main/main.collection  
The file ‘null’ could not be loaded.

What is the problem ?

---

<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:** [May 5, 2021, 9:33am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/2 "2021-05-05T09:33:50Z")

</div>

> [@FredZX](#):
>
> The sound worked in both android and ios mobile browsers. Now, when I prepare the same game in version 1.2.181 - sound does not work on IOS (Safari and Chromium).

So no sound at all? Wav or ogg files? Can you share a minimal repro case?

> [@FredZX](#):
>
> When I try to compile game in older version 1.2.165 I get error for all used sounds /main/main.collection  
> The file ‘null’ could not be loaded.

We added a loop count option to sounds and this has modified your .sound and .collection files. If you remove the loop count entries from the files (version control or using text editor) you will be able to open them in an older editor again.

---

<div class="post-metadata">

**Author:** ![FredZX](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/f/a9a28c/32.png) [@FredZX](https://forum.defold.com/u/FredZX)\
**Post date:** [May 5, 2021, 9:59am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/3 "2021-05-05T09:59:49Z")

</div>

There are no sounds at all. I have now tested this on another simple example. I am using the ogg format.  
Old compilations give sound on IOS (chrome and safari) but new compilations don’t

---

<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:** [May 5, 2021, 10:17am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/4 "2021-05-05T10:17:53Z")

</div>

That sounds odd. If it was a general issue that it isn’t working on iOS, I would have expected a lot more reports about it. So I’m guessing its something a bit more nuanced.

Would you mind sharing your small test project with us?  
You can zip the project folder (exclude the ./build and ./.git folders) and upload here or share with us in a PM.

---

<div class="post-metadata">

**Author:** ![FredZX](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/f/a9a28c/32.png) [@FredZX](https://forum.defold.com/u/FredZX)\
**Post date:** [May 5, 2021, 11:05am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/6 "2021-05-05T11:05:28Z")

</div>

Of course. Here - a simple example [test\_sounds.zip](https://forum.defold.com/uploads/default/original/3X/f/0/f0995002cd99b28524dea6e64d2019a9108f3177.zip) (376.6 KB)

---

<div class="post-metadata">

**Author:** ![FredZX](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/f/a9a28c/32.png) [@FredZX](https://forum.defold.com/u/FredZX)\
**Post date:** [May 7, 2021, 7:54am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/7 "2021-05-07T07:54:19Z")

</div>

@Mathias_Westerdahl Do you have any information about this problem ?

---

<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:** [May 7, 2021, 7:58am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/8 "2021-05-07T07:58:25Z")

</div>

Not yet I’m afraid. I hope to be able to look into this today.  
(And thanks for the test project!)

---

<div class="post-metadata">

**Author:** ![FredZX](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/f/a9a28c/32.png) [@FredZX](https://forum.defold.com/u/FredZX)\
**Post date:** [May 7, 2021, 8:35am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/9 "2021-05-07T08:35:16Z")

</div>

BTW, it took me over 2 years to start working with Defold 🙂  
A few months ago I found some time and made my first game. Defold is a really great tool, I got my developers interested in it. Congratulations guys !

---

<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:** [May 7, 2021, 11:05am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/10 "2021-05-07T11:05:35Z")

</div>

> [@FredZX](#):
>
> A few months ago I found some time and made my first game. Defold is a really great tool, I got my developers interested in it. Congratulations guys !

Thank you for the encouraging words!

---

<div class="post-metadata">

**Author:** ![FredZX](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/f/a9a28c/32.png) [@FredZX](https://forum.defold.com/u/FredZX)\
**Post date:** [May 10, 2021, 5:14am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/11 "2021-05-10T05:14:59Z")

</div>

@Mathias_Westerdahl what is the deal with this task ? I need it urgently ☹

---

<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:** [May 10, 2021, 6:51am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/12 "2021-05-10T06:51:19Z")

</div>

> [@FredZX](#):
>
> what is the deal with this task ?

The deal is that we have many tasks to do, and we try to prioritize them best as we can.  
Like I said, I hoped to look into it this friday, but I got caught up with other tasks.

I have now tried it on iOS, both native and in an iOS browser (Safari and Firefox), and the app plays the sound. I use the 1.2.181 editor to bundle the app.

---

<div class="post-metadata">

**Author:** ![FredZX](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/f/a9a28c/32.png) [@FredZX](https://forum.defold.com/u/FredZX)\
**Post date:** [May 10, 2021, 7:09am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/13 "2021-05-10T07:09:29Z")

</div>

> [@Mathias\_Westerdahl](#):
>
> The deal is that we have many tasks to do, and we try to prioritize them best as we can.  
> Like I said, I hoped to look into it this friday, but I got caught up with other tasks.
> 
> I have now tried it on iOS, both native and in an iOS browser (Safari and Firefox), and the app plays the sound. I use the 1.2.181 editor to bundle the app.

Sure, I understand that. Thank you for the information.  
Did you run my example or did you do your test ?

---

<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:** [May 10, 2021, 7:24am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/14 "2021-05-10T07:24:26Z")

</div>

I ran your example.

---

<div class="post-metadata">

**Author:** ![FredZX](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/f/a9a28c/32.png) [@FredZX](https://forum.defold.com/u/FredZX)\
**Post date:** [May 10, 2021, 7:33am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/15 "2021-05-10T07:33:41Z")

</div>

it is strange. Thank you very much.  
I’ll run Defold on another computer and check it. It cannot be a problem with my phone as there is sound in the old version. I will let you know when I find the cause

---

<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:** [May 10, 2021, 10:23am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/16 "2021-05-10T10:23:25Z")

</div>

> [@FredZX](#):
>
> what is the deal with this task ? I need it urgently

While we do try to help everyone in a timely fashion I’d like to point out a few things:

The first thing I’d like to point out is that Defold is a completely free to use product for you as a developer. We charge you nothing and we don’t ask for a rev share on your games or sell you costly licenses.

The second thing is that we’re a small three-man team working full time on Defold. We need to maintain laser focus to be efficient and deliver new features and bugfixes in every release. In order to do so we plan our daily work in batches of four weeks at a time. We try to not diverge too much from our plan but if we get reports from multiple developers about crashes we obviously give these priority.

Third, the work we do tries to follow the roadmap we set up at the beginning of the year. The roadmap is influenced by feedback from our users, from platform providers and from our corporate partners. The corporate partners are our paying customers and the only reason we can give away Defold for free. The corporate partners can influence our roadmap and we work closely with our partners to build value for them and for Defold in general. If want to more directly influence our daily work you can sign up as a community sponsor or a corporate partner: [Defold Community Donations](https://defold.com/community-donations/)

---

<div class="post-metadata">

**Author:** ![FredZX](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/f/a9a28c/32.png) [@FredZX](https://forum.defold.com/u/FredZX)\
**Post date:** [May 10, 2021, 10:28am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/17 "2021-05-10T10:28:33Z")

</div>

> [@britzl](#):
>
> While we do try to help everyone in a timely fashion I’d like to point out a few things:
> 
> The first thing I’d like to point out is that Defold is a completely free to use product for you as a developer. We charge you nothing and we don’t ask for a rev share on your games or sell you costly licenses.
> 
> The second thing is that we’re a small three-man team working full time on Defold. We need to maintain laser focus to be efficient and deliver new features and bugfixes in every release. In order to do so we plan our daily work in batches of four weeks at a time. We try to not diverge too much from our plan but if we get reports from multiple developers about crashes we obviously give these priority.
> 
> Third, the work we do tries to follow the roadmap we set up at the beginning of the year. The roadmap is influenced by feedback from our users, from platform providers and from our corporate partners. The corporate partners are our paying customers and the only reason we can give away Defold for free. The corporate partners can influence our roadmap and we work closely with our partners to build value for them and for Defold in general. If want to more directly influence our daily work you can sign up as a community sponsor or a corporate partner: [Defold Community Donations](https://defold.com/community-donations/)

I understand ! Thank you

---

<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:** [May 10, 2021, 10:29am UTC](https://forum.defold.com/t/sound-problem-under-1-2-181/68361/18 "2021-05-10T10:29:26Z")

</div>

> [@Mathias\_Westerdahl](#):
>
> I ran your example.

> [@FredZX](#):
>
> it is strange. Thank you very much.

I did the same and tested on an iPhone running iOS 14 something and heard a sound when pressing the red box in your test app.
