snozbot / fungus

An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
MIT License
1.59k stars 291 forks source link

Character gets cleared in Say dialogues seemingly randomly #1027

Open TheEmbracedOne opened 2 years ago

TheEmbracedOne commented 2 years ago

Describe the bug Every now and then I run into an issue where a flowchart in any of my scenes gets all of its Say dialogue's character entry cleared.

This is always selective; usually it's just one or a few flowcharts in the scene and never all of them, and I can't seem to find out what's causing it. @breadnone confirmed encountering the issue and suggested clearing the Library folder as a solution that worked for him. He also suspects it might not be a Fungus problem but a Unity-related problem instead, something to do with caching. I'm not sure.

Expected behavior The "character" entry, once set, should remain set.

Screenshots Unity_8NW9SEDKGc

Versions & Platform (please complete the following information):

breadnone commented 2 years ago

I've experienced this randomly not just for SayDialog command

stevehalliwell commented 2 years ago

Potentially a similar issue to the character selection field not saving that was solved a while ago. But without more info it's very hard to track down.

TheEmbracedOne commented 2 years ago

I still cant say what's causing it. For the time being I've added some editor tools to my flowchart window that can mass-set the character entry. Most of my flowcharts use one or two characters so it's a relatively painless process... I'm not convinced this is a Fungus-related issue (maybe we should close this issue?)

TheEmbracedOne commented 1 year ago

Interestingly, I have not run into this issue ever since - coincidentally, I have also changed the structure of my project which I think is the reason why this is no longer an issue. I used to have Flowcharts as part of prefabs, and I noticed that these prefab Flowcharts were the ones that "dropped" character info, so I think the issue is to do with Flowcharts WITHIN prefabs specifically.