Under fiction I mean anything that has a plot: science fiction or fantasy, literature or films, etc.
Philosophical ideas occur in fiction here and there, but majorly, since authors were not in academic philosophy I guess most of their ideas were just old and already thought about, However, I'm not sure it is always that way. Although many ideas, maybe most a human can produce, already were expressed, ability to produce entirely new idea, as I see it, is not that much dependent on knowledge of other ideas. So, I expect at least some ideas were taken from fiction.
What fiction actually contributed to philosophy, if any?