snozbot / fungus

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

Misalignment of Stage elements between 3.12 & 3.13 #825

Open ianicmathieu opened 4 years ago

ianicmathieu commented 4 years ago

Describe the bug When a stage elements ( such as Right, Left, Middle ) is created via a conversation/Portrait, the alignment is off in some cases.

To Reproduce Creating a scene with 2 stages, and aligned them gave the proper results. in my case, a full body character in one stage and just face elements in the second stage.

This might be something with unity, as the original project with the issue was built last year. so with another unity build.

Still, since the problem only appears at playback, and it's using Fungus Stage system, it might be something worth investigating.

Additional info. Creating the Scene from scratch, I did not get the issue. EDIT : I can now reproduce from scratch.

Versions & Platform (please complete the following information): unity 2019.2.10f1 Fungus RC1

stevehalliwell commented 4 years ago

From your description this is only occurring in an existing project upgraded from a previous version of Fungus to 3.13. If you can provide more detail on how it is misaligned, it may be possible to make the updated portrait system be the same locations as the previous system.

If Fungus itself not internally inconsistent, it may also be a simple fix of adjusting the stage locations to match your existing requirements.

felinearts commented 4 years ago

i am a new fungus user, and im having this same issue with the conversation command.

i dont know how to replicate the issue but i have 3 command blocks in a scene, 2 of those commands work as expected, but a 3rd one aligns the characters to the center of the stage.

using latest fungus version 3.13.5

breadnone commented 4 years ago

i am a new fungus user, and im having this same issue with the conversation command.

i dont know how to replicate the issue but i have 3 command blocks in a scene, 2 of those commands work as expected, but a 3rd one aligns the characters to the center of the stage.

using latest fungus version 3.13.5

This happened to me right after I upgraded my Fungus. Recreating your stage would fix this issue

EDIT: I recalled missclicking "Set native size" caused this issue as well. UNDOing only update what you see on screen but not updating it's settings. This happened also after updating Fungus

ianicmathieu commented 3 years ago

Today I've build a scene from scratch and immediately got the issue. unity 2019.4.4f1 and the latest Fungus. two things that might cause the issue : I used the Set Native Size. I Rescaled all the stage panels.

Result : when the portrait image appears, it has a offset.