# Conflicting output resource error (SOLVED)

**URL:** <https://forum.defold.com/t/conflicting-output-resource-error-solved/50089>\
**Category:** Bugs\
**Created:** [April 23, 2019, 1:19pm UTC](https://forum.defold.com/t/conflicting-output-resource-error-solved/50089 "2019-04-23T13:19:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![totebo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/totebo/32/36087_2.png) [@totebo](https://forum.defold.com/u/totebo)\
**Post date:** [April 23, 2019, 1:19pm UTC](https://forum.defold.com/t/conflicting-output-resource-error-solved/50089/1 "2019-04-23T13:19:04Z")

</div>

I’m suddenly having issues publishing a Facebook Instant HTML5 game:  
 ![10](https://forum-defold.b-cdn.net/uploads/default/original/2X/e/e301f01a133f37521d210bfd362077bee894a0ab.png)

```
/custom_resources/svg/hills10.svg
	Conflicting output resource 'build/default/custom_resources/svg/hills10.svg‘ generated by the following input files: [custom_resources/svg/hills10.svg, custom_resources/svg/.DS_Store, custom_resources/svg/hills9.svg, custom_resources/svg/hills8.svg, custom_resources/svg/hills5.svg, custom_resources/svg/hills4.svg, custom_resources/svg/hills6.svg, custom_resources/svg/hills3.svg, custom_resources/svg/hills2.svg, custom_resources/.DS_Store, custom_resources/txt/share.txt, custom_resources/csv/.DS_Store, custom_resources/csv/Progression - export.csv] <-> [custom_resources/svg/hills10.svg, custom_resources/svg/.DS_Store, custom_resources/svg/hills9.svg, custom_resources/svg/hills8.svg, custom_resources/svg/hills5.svg, custom_resources/svg/hills4.svg, custom_resources/svg/hills6.svg, custom_resources/svg/hills3.svg, custom_resources/svg/hills2.svg, custom_resources/.DS_Store, custom_resources/txt/share.txt, custom_resources/csv/.DS_Store, custom_resources/csv/Progression - export.csv]

```

The file structure hasn’t changed:

 ![24](https://forum-defold.b-cdn.net/uploads/default/original/2X/4/4e64cd127a0973e6a686304d80dd7eaed7176fb5.png)

When publishing a directory called “build” is added to the root directory:

 ![22](https://forum-defold.b-cdn.net/uploads/default/original/2X/c/ca296f26f33ba49d3bc6450b75626795c11b57e3.png)

Removing the folder doesn’t work, because it’s just created again on export.

What’s going on here then?

 ![08](https://forum-defold.b-cdn.net/uploads/default/original/2X/1/1def1ac11338366d587486f56a5d0149158c11d0.png)

---

<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:** [April 23, 2019, 2:00pm UTC](https://forum.defold.com/t/conflicting-output-resource-error-solved/50089/2 "2019-04-23T14:00:24Z")

</div>

We haven’t change anything regarding custom resources recently afaik.

What does your `game.project` say? (i.e. the `project.custom_resources` property)

---

<div class="post-metadata">

**Author:** ![totebo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/totebo/32/36087_2.png) [@totebo](https://forum.defold.com/u/totebo)\
**Post date:** [April 23, 2019, 2:16pm UTC](https://forum.defold.com/t/conflicting-output-resource-error-solved/50089/3 "2019-04-23T14:16:25Z")

</div>

![27](https://forum-defold.b-cdn.net/uploads/default/original/2X/a/a4ebef584d95047633688aefd4bb1c6527559001.png)  
(strange formatting explained [here](https://forum.defold.com/t/load-bundled-svg-files-solved/41993/9))

---

<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:** [April 23, 2019, 2:47pm UTC](https://forum.defold.com/t/conflicting-output-resource-error-solved/50089/4 "2019-04-23T14:47:32Z")

</div>

The reason the build step complains is that two tasks have the same output.  
However, it seems that the same inputs are registered twice?!  
Not sure how that happened. Could it be something with the folder structure?  
Does the file `svg/hills10.svg` exist more than once?

> [@totebo](#):
>
> I’m suddenly…

So, what happened between when it worked and when it stopped working?

---

<div class="post-metadata">

**Author:** ![totebo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/totebo/32/36087_2.png) [@totebo](https://forum.defold.com/u/totebo)\
**Post date:** [April 23, 2019, 3:10pm UTC](https://forum.defold.com/t/conflicting-output-resource-error-solved/50089/5 "2019-04-23T15:10:07Z")

</div>

> [@Mathias\_Westerdahl](#):
>
> Does the file `svg/hills10.svg` exist more than once?

Nope, only after the failed export inside “build”.

> [@Mathias\_Westerdahl](#):
>
> So, what happened between when it worked and when it stopped working?

I went on holiday for two weeks without touching it! I pushed a build, went on holiday, tried to push a new build with minor changes. Am I cursed?

---

<div class="post-metadata">

**Author:** ![totebo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/totebo/32/36087_2.png) [@totebo](https://forum.defold.com/u/totebo)\
**Post date:** [April 23, 2019, 3:14pm UTC](https://forum.defold.com/t/conflicting-output-resource-error-solved/50089/6 "2019-04-23T15:14:00Z")

</div>

Will try to revert to the previous build and try again, to see if it’s my code or something else.

---

<div class="post-metadata">

**Author:** ![totebo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/totebo/32/36087_2.png) [@totebo](https://forum.defold.com/u/totebo)\
**Post date:** [April 23, 2019, 7:13pm UTC](https://forum.defold.com/t/conflicting-output-resource-error-solved/50089/7 "2019-04-23T19:13:33Z")

</div>

> [@totebo](#):
>
> Will try to revert to the previous build and try again, to see if it’s my code or something else.

This worked, so I started looking for what changes might have caused the issue. Turns out it’s a Very Strange Change Indeed ™ that caused it; I had accidentally made a copy of game.project inside of a subfolder. Once this offensive clone was removed, exporting started working again!

---

<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:** [April 23, 2019, 7:55pm UTC](https://forum.defold.com/t/conflicting-output-resource-error-solved/50089/8 "2019-04-23T19:55:51Z")

</div>

Thanks, that way we can hopefully reproduce the issue

---

<div class="post-metadata">

**Author:** ![d954mas](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/d954mas/32/5401_2.png) [@d954mas](https://forum.defold.com/u/d954mas)\
**Post date:** [February 13, 2021, 8:20am UTC](https://forum.defold.com/t/conflicting-output-resource-error-solved/50089/9 "2021-02-13T08:20:51Z")

</div>

Thanks. Your post help me)  
Custom resources not worked when project have multiple \*.project files.

I use multiple files for building different versions with bob(release,dev,test).  
Renaming \*.project to \*.project\_settings helped me.

[https://github.com/defold/defold/issues/5557](https://github.com/defold/defold/issues/5557)
