Search Unity

CallBack to a Native Plugin - Can't Play more than one.

Discussion in 'AR/VR (XR) Discussion' started by Thibault_Lesaunier, Jan 21, 2019.

  1. Thibault_Lesaunier

    Thibault_Lesaunier

    Joined:
    Feb 8, 2018
    Posts:
    7
    Hello community !

    I'm a french Engineer working with Unity for Augmented Reality problematics.

    I'm displaying a background Image in a RawTexture UI in my Unity Scene with a Callback to my Native Plugin. For this, I'm using m_texture.GetnativeTexturePtr() to get the pointer on my texture and I give this pointer to my Plugin. My plugin set values to this.

    All work well. Just one problem : I can play for debugging one but no more than one.

    I'm stopping my plugin, variables..etc... but nothing help. So I'm asking to you...

    Someone has an idea ?

    Thanks.