• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. 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.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.
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.
 
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.
I haven't been able to check in for the past few months due to health issues, so I only just saw your message.
I've fixed the reported bug and will be releasing a new version shortly.
Thank you !
 
Back
Top Bottom