Forum rules - please read before posting.

Pop Up Switch Issues

edited April 2022 in Engine development

I discovered the bug that the bigger a popup switch gets, the more are the connector pins off the place where they should be. See screenshot, where I painted in orange where the connectors should be. That gets very confusing with time.

https://imgur.com/a/UyL8xqy

I just saw that I marked the uppermost pin wrong. Put that orange marker to the bottom entry :)

Comments

  • This was an issue before, but should have since been fixed. What are your AC and Unity versions, and what platform are you working?

  • edited April 2022

    I have V1.75.0 & 2020.3.29f1 Personal on Win X

  • The separation distance is set in the Action script's socketSeparation variable, on line 94 of Action.cs.

    I can't recreate the issue on my end, but see if reducing that value works on yours - start with 26.

  • Scratch that - I've recreated it.

    Open up Action.cs, and replace line 90:

    public const int skipSocketSeparation = 44;
    

    with:

    #if UNITY_EDITOR_OSX
    public const int skipSocketSeparation = 44;
    #else
    public const int skipSocketSeparation = 48;
    #endif
    
  • Works like a charm. Thank you.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.