Search Unity

Low-Level Native Plugin example from the manual does not render triangles on Hololens

Discussion in 'VR' started by jbelkin, Jan 9, 2017.

  1. jbelkin

    jbelkin

    Joined:
    Jan 6, 2017
    Posts:
    2
    Hello

    I'm trying to make the Low-Level Native Plugin example from the Unity Manual work on Hololens. I managed to get the animated surface, but have had an issue with DirectX rendering. It seems that ID3D11DeviceContext comes without any render targets set, therefore no triangles are rendered. Everything is Ok in desktop version, though.

    Any ideas of what I'm doing wrong here? Some special way to get the DirectX context for Hololens?

    Thanks

    Eugene

    Native1.PNG

    Native2.jpg
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Can we get a bug report on that?
     
  3. jbelkin

    jbelkin

    Joined:
    Jan 6, 2017
    Posts:
    2
    Sure, I can report the issue. Just wanted to make sure I'm not missing something important before creating a report.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Well it's at the very least either a bug in the sample, or a bug in the engine - it should work out of the box :).

    Unfortunately I do not know why it doesn't work - that needs investigation to tell.
     
  5. Perazim

    Perazim

    Joined:
    Nov 11, 2015
    Posts:
    3
    are there any updates on this? I also trying to do the same. Fixed the animated surface but now I also dont know why the triangles doesnt show up on the hololens, only in play-mode.