FOVE SUPPORT CENTER

fove detected but not moving on screen in unity

Comments

9 comments

  • Avatar
    Pierre

    Hello, 

    Could you confirm me the following points:

    - is the scene rendering inside the HMD or only in unity Editor?

    - The scene is rendering properly but the orientation (or position?) of the Camera is not updated, right? Could you check the following properties are check on the fove interface component?

    - "I added fove rig to the project and added it to the camera of the truck". Does that mean that you have two camera in your scene (the fove rig already contains one camera) ? If yes you probably want to replace you initial camera by the fove rig itself.


    Best,

    Pierre.

    0
    Comment actions Permalink
  • Avatar
    Clement Mindjimba

    Hi Pierre,

     

    Thanks for the answer.

    To confirm your points:

    - the scene is rendering in Unity Editor only (not inside the HMD)

    - the scene is rendering the properly and it is in fact the orientation/position of the camera that is not updated, and the properties were already checked 

    - yes there are two cameras so I did replace the initial camera with the fove rig (the camera preview of the fove rig is fine)

     

    Clement

    0
    Comment actions Permalink
  • Avatar
    Pierre

    I see. Thanks for the information.

    Could you give me the following information:

    • which graphics card are you using?
    • if you start the debug tool (right click on the fove tray/Show debug tool), can you see the values of Orientation/Position changing?
    • If you click Show log inside the Fove debug tool, do you have any warning or error log showing up ? if yes, could you send it to us?
    • If you put the headset (even without unity running) do you have a black screen or a space environment image?

    Best,

    Pierre.

    0
    Comment actions Permalink
  • Avatar
    Clement Mindjimba

    - I am using XPS13 with Intel UHD Graphics 620 (this is only temporary, I am getting a different laptop with the required graphic card)

    - I can see the values of orientation changing when starting the debug tool

    - If I put on the headset I get a black screen. But the image still moves properly on the computer screen.

    What I don't understand is that the position changes on the screen in a sample project, but not in this particular project that I am working on.

     

    Here is the log:

    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    isCalibrating: EFVR_ErrorCode::Connect_NotConnected
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    RemoteRequester(Headset) connected to tcp://127.0.0.1:5394
    FVRHeadset(000001E91FCE20B0) opening mem for EFVR_DataType::HeadsetState at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-17883835127323984033
    FVRHeadset(000001E91FCE20B0) opening mem for EFVR_DataType::Orientation at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-14145659084441290479
    FVRHeadset(000001E91FCE20B0) opening mem for EFVR_DataType::Position at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-14145659084441290479
    FVRHeadset(000001E91FCE20B0) opening mem for EFVR_DataType::Gaze at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-8269629028214585446
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Unable to connect to compositor
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Trying to connect to service, pid: 4748
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Unable to connect to compositor
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Trying to connect to service, pid: 4748
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Unable to connect to compositor
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Trying to connect to service, pid: 4748
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Unable to connect to compositor
    Trying to connect to service, pid: 4748
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Unable to connect to compositor
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Trying to connect to service, pid: 4748
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Unable to connect to compositor
    Trying to connect to service, pid: 4748
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Unable to connect to compositor
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Trying to connect to service, pid: 4748
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Unable to connect to compositor
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Trying to connect to service, pid: 4748
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    RemoteRequester(Headset) connected to tcp://127.0.0.1:5394
    FVRHeadset(000002BA02ACCB70) opening mem for EFVR_DataType::HeadsetState at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-17883835127323984033
    Opened shared memory at: Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-17883835127323984033 184
    FVRHeadset(000002BA02ACCB70) opening mem for EFVR_DataType::Orientation at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-14145659084441290479
    Opened shared memory at: Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-14145659084441290479 784
    FVRHeadset(000002BA02ACCB70) opening mem for EFVR_DataType::Position at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-14145659084441290479
    Opened shared memory at: Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-14145659084441290479 784
    FVRHeadset(000002BA02ACCB70) opening mem for EFVR_DataType::Gaze at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-8269629028214585446
    Opened shared memory at: Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-8269629028214585446 1440
    FVRHeadset(000002BA02ACCB70) opening mem for EFVR_DataType::Metrics at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-1327462331974689098
    Opened shared memory at: Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-1327462331974689098 512
    Unable to connect to compositor
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    New log client 0.14.1 C:/Program Files\FOVE\bin\FoveServiceHost.exe
    Service started. Initialising FoveVR
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    RemoteRequester(Companion) will attempt to connect to tcp://127.0.0.1:8317
    Started Fove Runtime Service
    FoveVR ctor
    System Stats:
    OS Name: Microsoft Windows 10 Home|C:\WINDOWS|\Device\Harddisk0\Partition3
    OS Version: 10.0.17763
    CPU Name: Intel(R) Core(TM) i7-7560U CPU @ 2.40GHz
    Manufacturer: GenuineIntel
    Cores: 2
    Logical Processors: 4
    RAM1: 4294967296
    RAM2: 4294967296
    Total RAM: 8589934592
    GPU1 Name: Intel(R) Iris(TM) Plus Graphics 640
    GPU1 Manufacturer: Intel Corporation
    GPU1 VRAM: 1073741824
    GPU1 Driver Version: 21.20.16.4664
    Connected to headset with fw51
    Trying to connect to service, pid: 48880
    Trying to connect to service, pid: 4748
    FVRHeadset(000000001C267ED0) added registration EFVR_DataType::Gaze
    FVRHeadset(000000001C267ED0) opening mem for EFVR_DataType::Gaze at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-8269629028214585446
    FVRHeadset(000000001C267ED0) added registration EFVR_DataType::Position
    FVRHeadset(000000001C267ED0) opening mem for EFVR_DataType::Position at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-14145659084441290479
    Unable to connect to compositor
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    No position camera found from list of 2 ids: 2D3C,0003/0BDA,57E8
    Launched FoveCompositorApplication.exe
    Starting app: FoveCompositorApplication.exe
    Launched FoveCompanion.exe
    Starting app: FoveCompanion.exe
    New log client 0.14.1 C:/Program Files\FOVE\bin\FoveCompositorApplication.exe
    Setting timer interval to: 1
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Unable to load amdlvr64.dll: 126 The specified module could not be found.
    [RNDR] Forcibly acquiring rendering backend (1, 3)...
    NVIDIA not found
    AMD module not found
    Not searching for extended displays
    No suitable backend found
    Failed to find a suitable backend, retrying in 2000ms.
    New log client 0.14.1 C:/Program Files\FOVE\bin\FoveCompanion.exe
    Companion starting
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    RemoteRequester(Compositor) will attempt to connect to tcp://127.0.0.1:8307
    Creating a compositor client (0000021716C3CF00)
    RemoteResponder(Companion) accepting clients on port 8317
    Trying to connect to service, pid: 48688
    Failed to request compositor adapter ID: sendRequest(3) failed: RemoteRequester(Compositor) 50ms timeout
    Unable to fetch adapter id from compositor: EFVR_ErrorCode::UnknownError
    Companion adapter id is Adapter(0, 0)
    RemoteRequester(Headset) will attempt to connect to tcp://127.0.0.1:5394
    Creating FVRHeadset object (000002171521DB80)
    ClientCap final: EFVR_ClientCapabilities(2, Orientation)
    RemoteRequester(Headset) connected to tcp://127.0.0.1:5394
    FVRHeadset(000002171521DB80) opening mem for EFVR_DataType::HeadsetState at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-17883835127323984033
    FVRHeadset(000002171521DB80) opening mem for EFVR_DataType::Orientation at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-14145659084441290479
    Companion is sleeping
    Unable to connect to compositor
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Trying to connect to service, pid: 48880
    Eye camera configuration set
    RemoteRequester(Companion) connected to tcp://127.0.0.1:8317
    Trying to connect to service, pid: 4748
    InitiateConnection: sendRequest(0) failed: RemoteRequester(Compositor) 1000ms timeout
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Attempted to remove nonexistant registration: EFVR_DataType::Position
    Attempted to remove nonexistant registration: EFVR_DataType::Gaze
    FVRHeadset(000000001C267ED0) closing mem for EFVR_DataType::Position at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-14145659084441290479
    FVRHeadset(000000001C267ED0) closing mem for EFVR_DataType::Gaze at Global\FOVE-{f4668677-b202-4533-a9de-c408cf979b1a}-17-8269629028214585446
    Unable to connect to compositor
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Trying to connect to service, pid: 48688
    Unable to connect to compositor
    Loaded config file at C:\ProgramData\FOVE\FoveVR.config
    CURRENT_USER_PROFILE: 819700
    Trying to connect to service, pid: 48880
    Loaded C:/Program Files\FOVE\bin\/assets/tracker_es3_left.dat
    Unable to load amdlvr64.dll: 126 The specified module could not be found.

     

    Clement

    0
    Comment actions Permalink
  • Avatar
    Pierre

    Hello Clement,

    Thanks for the log.

    Direct mode requires a Nvidia or AMD capable graphics card. While waiting for your new laptop you can try to run in extended screen mode (not recommended if you have a direct mode capable card).To do this add/change the following line in your config file (debug tool/Open/Config File). Note you may need admin rights to save this file.

    COMPOSITOR_DISPLAY_MODE=1

    Hopefully this will solve your black screen issue inside the headset.

    For the position, if they are changing in the debug tool this should also be working in your game.
    Could you check the following:
    - Do you manually override the position of the camera in your script?
    - when running the game is the transform (especially the rotation) of the game object containing the FoveInterface changing in the editor inspector?
    - Do you have any error or warning log in the Unity log console?

    Pierre.

    0
    Comment actions Permalink
  • Avatar
    Clement Mindjimba

    So I tried to run in extended screen mode by adding the line to the config file but it doesn't seem to work.

     

    For the position:

    - I don't override the position of the camera in the script

    - When running the game, the rotation of the game object containing the FoveInterface is not changing in the editor inspector

    - Here are the errors that I get (not sure if they are related to the headset):

    0
    Comment actions Permalink
  • Avatar
    Pierre

    Ok thank you for the information. 

    It doesn't seem to be errors coming from the Fove plugin, but those error could potentially interrupt the awake/OnEnabled life cycle of Unity leaving our components uninitialized. Try to fix those errors (even by commenting the code or removing the game objects) and see if it fixes camera orientation sync issue.

    Best,

    Pierre.

    0
    Comment actions Permalink
  • Avatar
    Clement Mindjimba

    Hi Pierre,

     

    I fixed the issues that I was getting but nothing has changed. I am still getting the correct camera preview, but no movement once I start the scene. Do you have any other suggestions?

     

    Thank yopu.

    Clement

    0
    Comment actions Permalink
  • Avatar
    Pierre

    Hello Clement,

    I must admit that I am running out of idea here.

    If you have a repro project I can test on my side if I have the same problem and how to fix it.

     

    Best,

    Pierre.

    0
    Comment actions Permalink

Please sign in to leave a comment.