-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use IVRNotifications? #1133
Comments
I invested some time in this, Just a few days ago this was pushed to the Openvr repo 823135d#diff-a7e4e65799ecc1976f2eca8869a9c7a7 It adds support to the IVRNotifications API. I tried it out and it works. I suggest a wrapper that takes care of creating the overlay. But more important act as a wrapper for a Unity sprite so we can use a Unity sprite object as image for the overlay. |
Also I cant get the icon image to work, tried,
Unity crashes hard |
Also tried
Doesnt crash, but no image in notification |
I created a minimal example in Unity without the SteamVR plugin just raw OpenVR,
This works in vanilla .net but not in Unity, the images does not show, the notification does show but without image. Image work in vanilla. It seems the pointer data types differ in .net and mono/unity. |
Related: #1038 |
@bddckr Yep, its related to x64 dll |
I cant seem to get Notifications working, can you guys provide docs please?
I talk about the SteamVR notifications,
IVRNotifications
,CreateNotification
etcThe text was updated successfully, but these errors were encountered: