Assets marked for export in a component's state aren't exported
When an asset is marked for export, but happens to be contained in a state of a component that's not currently visible when a live prototype is created/updated, this asset is not exported with the prototype, and therefore isn't available as a Downloadable Asset.
This is frustrating as I have a large client project where images/icons are contained in states that aren't initially visible (such as in popup dialogs) and aren't available for the developer I'm working with to download.
Here's a simple example that recreates the problem: https://xd.adobe.com/view/e9a0a96e-b944-45d9-befa-c263ae9883c2-bcf3/
You'll notice that the dark blue bulb icon contained within the popup dialog is never available as a Downloadable Asset, even though it is marked as such, because it is never exported along with the prototype.
The only current workaround is to have all dialogs set to their visible/open/active state when creating the live prototype, so any of their contents marked for export will be exported. However, this seems like a bit of a hack, and results in a mess of open dialogs layered over everything, making the prototype hard to navigate and manage, particularly when you realise that components return to their first state when you open the Comments panel.
TL;DR: The contents of a component's other states aren't taken into account when exporting assets. It seems like this is an intentional "feature" and not a bug, but I don't understand why you'd want these contents to be ignored when exporting?
Anyone else come across this? Am I odd in thinking this behaviour seems wrong? Interested to see what others think!
