• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
CustomClipboard

Plugins + Scripts CustomClipboard

Download [<1 MB]
Hey @14mhz I finally got my PC swapped, man was it a challenge, and tested this EPIC plugin and it ROCKS, it's just what we needed. Thank you so much for jumping in and doing this for me/us the community!

Please tell me you'll be coding plugins for VAM 2.0, that version will need you badly!

Thank you!!!
 
I was having an issue with the VaM log file being flooded with this messages:

Code:
Event.Use() should not be called for events of type Repaint
 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)

And I tracked it down to this plugin. The issue is in UtilMouse.cs
C#:
    public void init()
    {
        this.drag_m_0 = false;
        this.drag_pos = Vector3.zero;
        this.drag_vr0 = false;
        this.drag_vr1 = false;
        this.dragpvr0 = Vector3.zero;
        this.dragpvr1 = Vector3.zero;
        //Event.current.Use();  <- This is causing Unity to freak out, so I removed it
    }

I have not fully tested, but removing that line in UtilMouse.cs completly, and updating "selection" in
CustomClipboard.cs line 239

from

C#:
Event.current.Use();

to

C#:
if (Event.current != null) Event.current.Use();

Seems to do the trick, no more log messages, and it works with mouse and VR (at least with a Quest 3) from what I could test.
 
Back
Top Bottom