Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Fleece

A dialogue manager for Unity that doesn't fray at the edges. · By KaiClavier

Endless Loop when opening Fleece Editor

A topic by oprel created Nov 23, 2021 Views: 125 Replies: 3
Viewing posts 1 to 2

Got quite an annoying little bug here! Something about the story seems to prevent the Fleece Editor from opening and it freezes Unity while doing so. After this there is no recourse but to force close Unity and delete the entire story in the file editor.

Do you have any idea what causes this? Here's a link to the offending Sample.asset file: https://pastebin.com/g1c0Wiet

Here's some background info: I was working on custom commands and testing them out in the 'DialogueManager Test' passages. Closed the Editor and then opened it a couple minutes later when this bug popped up. All the edits to the story were done exclusively through the Fleece Editor. All Fleece Settings are set to default.

I've tried to find the cause of the problem, but I'm at a point now where I have sunk way too much time in debugging it. 

Thanks for your help!

Developer

Hmm could it be a rogue while loop somewhere in the custom commands? It's also possible a custom command is not using the "appIsPlayingAndExcecute" boolean, which can be used to avoid running code when text is simply viewed in the editor. For example, if that variable is removed from an "add" method, it will add to a value every frame the text is viewed in-editor.


If those two aren't an option, please send me an email with your invoice no., I have a new build of Fleece that's 99% ready for release that fixed/adjusted a ton of small things, so it's possible this could be a bug I've fixed already. Maybe.

It actually doesn't seem to be related to the custom commands at all. It still happens if I replace the entire body of my RunCommand function with 'return false;'.
I've also tried a version of the asset that has all the references to custom commands removed (removed them in my text editor), but the issue persists!

Yeah, I'll shoot you an email! I also had two other smaller issues with the software. Would you prefer I make a separate thread or talk about them here?

Thanks for your help!

Developer

Let's start with the email! It'll be tricky for me to debug the current version, anyway.