A asset build bug

Greetings, I don’t know am I on the right place

I have one asset bug to report. When handling large swf files, build process can duplicate assets, even triple them.

Occurrence:
every next build, after first

Steps to reproduce:
Create one large swf file with multiple library items, and them integrate it in to process with

generate = true

run
lime build html5 -minify -dce full

the result will be correct

run one more time
lime build html5 -minify -dce full

asset images will be duplicated

run one more time
lime build html5 -minify -dce full

asset images will be tripled

work around solution:
publish swf file again (necessary)
delete lib folder
run
lime build html5 -minify -dce full

everything will be fine.

correct first time build

error build

Do you think there is a small sample you could help share that we could use to try and reproduce this problem you are seeing?

Thank you :slight_smile:

Sure thing,
You will notice the problem inside lib -> DemoTwo

https://files.fm/u/cbwr6kyt

Cheers

I just wanted to update this topic. The bug is still present. The best way to avoid it is to use single library swf instead of multiple ones.