Comments (14)
Check if it shows up on the desktop preview. The game needs to have IMGUI view enabled in some way for it to work, either as desktop-only or rendered to a camera. A lot of games are probably not going to have anything set up here.
from runtimeunityeditor.
I did check the desktop preview. sadly no menu in there either
from runtimeunityeditor.
Anyone found a solution? I do know the UnityExplorer plugin somehow, but works.
from runtimeunityeditor.
UnityExplorer is visible because it uses a canvas for its interface instead of imgui.
from runtimeunityeditor.
Hmm, im not into the internals that much, does that mean the plug-in OnGUI and Update needs to work? And some games will just not call OnGUI?
from runtimeunityeditor.
The issue is that there is nothing to draw the UI to. I believe it's not possible to draw directly in the VR view, but it is possible to draw to the desktop preview camera and to a texture. I used the second way to enable plugins using OnGUI to be visible in VR on the desktop view tool in this mod https://github.com/IllusionMods/KKS_VR, but it relies on OpenXR which won't help here. I have some games that come with the first version working out of the box too, so it's definitely possible, I think it's a camera mask issue in this case.
from runtimeunityeditor.
Well ok, i guess legacy unity GUI is outdated anyway, that why it wont work with vr and there not much to do about it.
from runtimeunityeditor.
from my knowledge it is possible to draw imgui elements into VR. there is actually a fork of imgui for vr called imguivr or something which allows you to draw imgui overlays in all vr games. it uses openVR.
github: https://github.com/temcgraw/ImguiVR
demo: https://www.youtube.com/watch?v=nlwfn4HJw5E
from runtimeunityeditor.
Hmm, are we still talking about the same things and what it has to do with making RuntimeUnityEditor work in vr unity apps?
RuntimeUnityEditor is using unity IMGUI and this has nothing to do with c++ dear imgui.
IMGUI is basically the OnGUI event, at the same time IMGUI does not work with vr and it is kinda obsolete now so it will never in a official way.
But, maybe there is some hack to make it work or at least display on the desktop window without rewriting the whole thing...
Cuz i have heard that some vr games do display it still, but only on the desktop view, but im not sure how this is achieved.
But maybe some hacks are possible, like render the OnGui calls to a texture?
from runtimeunityeditor.
maybe the texture thing might work, you could draw a plane/cube or whatever into the game and put imgui as a texture on it
from runtimeunityeditor.
Its hard to find any info about it, no one cares really, and as it is legacy ui i wont look for it either, no point probably, it works in the vr app i tested, but op didn't specify what game it was, so i was curious.
from runtimeunityeditor.
The Game was VirtuosoVR I believe.
from runtimeunityeditor.
Works for me.
from runtimeunityeditor.
welp then I forgot... sorry
from runtimeunityeditor.
Related Issues (20)
- Materials being duplicated HOT 1
- Correct Object Browser's scroll behavior to jump to the correct object after clearing search
- Color code Prefab's a different color
- Improve search speed by offering search option without component search
- Add pasting values via right click
- Add log viewer window with filtering
- Add filtering GameObjects by scene and controls to load/unload scenes with a scene list
- UI / font size? HOT 2
- 2022 compile issues. HOT 6
- GUI text not rendering on wine (solution included) HOT 3
- Obsolite debug feature causing an error? HOT 1
- ReflectionTypeLoadException - RuntimeUnityEditorCore.dll HOT 2
- [Il2cpp] Honey Come GetPrivateExplicit Extension crash/null object reference HOT 2
- BepInEx 6 support HOT 1
- System.IO.FileNotFoundException: Could not load file or assembly 'RuntimeUnityEditor.Core' HOT 17
- F12 doesn't bring up the RuntimeUnityEditor interface but there's no log issues that I can see that would suggest a failure HOT 5
- "Mouse inspect" causes massive memory and CPU usage
- Failed to initialize REPL environment HOT 8
- Keystrokes in RUE and being passed to the game HOT 1
- 64x mono HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from runtimeunityeditor.