fungus
fungus copied to clipboard
Block Names and Comments Misaligned in Flowchart
I am 100% sure this has been reported before, I even remember seeing a post and screenshots about it but for my life I can't find it.
Describe the bug
After updating Fungus to 3.13.4, block names in the flowcharts and block comments are misaligned. Comments also seem to be missing the comment background:
Reproduction Open the flowchart window on 3.13.4 to observe the issue.
Expected behavior
Block names and comments to be aligned like pre-3.13.4:
Versions & Platform
- Unity version 2019.4.9f1
- Fungus Version 3.13.4
- Editor OS: Win8.1 64bit
This seems to be intermittent; not sure what's causing it but they were consistently misaligned up until now (I've changed nothing in my project, just restarted my PC and happened to open the project afterwards. The block names and comments appear correct as per second image above.
I also have encountered this after updating fungus, but it fixes itself after I restart unity.
Thanks for the report and additional detail y'all. I have seen this but haven't had it persist as I tend to jump between branches and Unity versions and end up restarting the editor during that process. If we can determine that this only occurs during an upgrade or fresh 'install' of Fungus then perhaps we can find a way to force a refresh of the underlying GUIStyles that are causing the issue we detect those circumstances.
@stevehalliwell After updating Fungus I had this issue for several days, restarting Unity didnt do anything, but since yesterday it just fixed itself, for no apparent reason; the only thing that changed is that I regenerated project files. Until yesterday, I did not set my preferred external editor tool to Visual Studio 2019 so the project never generated csproj and sln files.
Because I was preoccupied with fixing another issue, I'm not sure if the block names/comments fixed themselves right after or not, and I'm not sure whether this is unrelated at all or perhaps a clue that could lead to a solution.
This doesn't seem to be helping narrow it down to a single thing, but it does cement for me that it's related to GUIStyles being invalid or cached improperly.
Just had it caused by switching between branches (dev and audio), resolved itself by simply closing the flowchart window and then reopening it.
Unity version 2019.4.11 Fungus Version 3.13.6 (+develop branch) Editor OS: Win10
Just wanted to add, that I have not experienced this issue even once on 2020.3.3f1 nor 2021.3.9f1, so it might have been a Unity-side issue.