You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am making a AR app that using Unity Sentis + Google Cardboard. It is real-time program estimating the camera depth by machine learning. And I would like to make it in VR mode.
The code is basically have a world camera canvas and inside having two raw image displaying the webcamtexture and the depth map result processed by Sentis.
It works normally in editor and android, but when in iPhone, it can't display the camera feed and depth map in VR mode, it will just display them in full screen.
One interesting thing is that the Google Carboard close and gear button still clickable, but it is not shown on screen. So I wonder if there is some rendering order issue happening?
I also have another thread on Unity Sentis side, please see if that can give more information. Thank you!
SMARTPHONE (please complete the following information):
Make a new scene that have the google cardboard vrmodecontroller script and the InferenceWebcam from Sentis
Make a world camera canvas and put two raw image, it is for displaying the camera feed and depth map
Change a bit the code in InferenceWebcam to display the webcamtexture and outputtexture on the raw image, but not bilt on screen. And no need the rainbow scan shader.
Build on iPhone and error appears.
EXPECTED BEHAVIOR
It is expected the camera feed and depth map displaying in VR mode, just like this picture. Tested device on UleFone Armor 8 Pro
Kind of find out the problem of this issue is cased by the different versions in Google Cardboard and Unity Sentis. I decide to close this thread and open other new threads to discuss the versioning issue in more basic and easy example.
SPECIFIC ISSUE ENCOUNTERED
I am making a AR app that using Unity Sentis + Google Cardboard. It is real-time program estimating the camera depth by machine learning. And I would like to make it in VR mode.
The code is basically have a world camera canvas and inside having two raw image displaying the webcamtexture and the depth map result processed by Sentis.
It works normally in editor and android, but when in iPhone, it can't display the camera feed and depth map in VR mode, it will just display them in full screen.
One interesting thing is that the Google Carboard close and gear button still clickable, but it is not shown on screen. So I wonder if there is some rendering order issue happening?
I also have another thread on Unity Sentis side, please see if that can give more information. Thank you!
SMARTPHONE (please complete the following information):
STEPS TO REPRODUCE THE ISSUE
vrmodecontroller
script and theInferenceWebcam
from SentisInferenceWebcam
to display thewebcamtexture
andoutputtexture
on the raw image, but not bilt on screen. And no need the rainbow scan shader.EXPECTED BEHAVIOR
It is expected the camera feed and depth map displaying in VR mode, just like this picture. Tested device on UleFone Armor 8 Pro
VERSIONS USED
What version of Google Cardboard are you using?
Google Cardboard XR Plugin for Unity 1.23.0
If you are using Cardboard XR Plugin:
What version of Unity are you using?
Select in which graphics API you can reproduce the bug.
LINK TO A REPOSITORY WITH CODE TO REPRODUCE THE BUG
(This is not mandatory but it allows us to faster reproduce, prioritize, debug and fix the reported issue)
Here is the zip file of the Unity project
SCREENSHOTS
Here is the screen recording of the app on iPhone 13 mini
ADDITIONAL CONTEXT
Here is the xcode log file when running the app on iPhone 13 mini
The text was updated successfully, but these errors were encountered: