Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Resolved Solution: Connecting RICOH THETA Z1 with Unity

Discussion in 'VR' started by jcasman, Mar 18, 2024.

  1. jcasman

    jcasman

    Joined:
    Nov 11, 2016
    Posts:
    18
    This solution was provided by @manuel_couto on a different forum thread. Posted to help share the information.

    Problem with connecting a 360 degree camera - RICOH THETA Z1 - with Unity.

    Using Unity version 2022.3.17f1 along with the 3.0.0 UVC driver.

    Partial solution: Utilizing OBS as a virtual camera to integrate the Z1 with Unity.

    However, result was lower image quality and darker appearance.

    Solution: Issue was with Unity. Was setting the wrong type of material, Lit, instead of Unlit. Additionally, had to choose “Universal Render Pipeline/Unlit” rather than the standard Unlit option to render the inside of the sphere correctly, despite flipping the normals.

    Full discussion here, including before and after images: https://community.theta360.guide/t/connecting-ricoh-theta-z1-with-unity/9005/9?u=jcasman
     
    MandromineYT likes this.
  2. MandromineYT

    MandromineYT

    Joined:
    May 3, 2022
    Posts:
    2
    I have some great news!
    I recently conducted tests using the older Unity version (2020.3.5f1) to determine whether the issue lay with Unity or Windows 11.
    It turns out the problem stemmed from Unity itself. Upon further investigation, I stumbled upon this bug report: https://issuetracker.unity3d.com/is...memory-when-capturing-theta-vs-output-texture
    The good news? Unity has already developed a solution for it.
    https://issuetracker.unity3d.com/is...memory-when-capturing-theta-vs-output-texture

    I proceeded to test it with the beta version (as I was unaware of other options at the time!):
    [Unity 6000.0.0 Beta 11](https://unity.com/releases/editor/beta/6000.0.0b11)

    Now, we no longer require OBS, we can directly utilize the UVC driver within Unity.

    Regards
    Manuel Couto
     
    jcasman likes this.
  3. jcasman

    jcasman

    Joined:
    Nov 11, 2016
    Posts:
    18
    This is fantastic! Thank you for posting the details here. Cool that you found the Unity solution and tried out the beta version. Great work!
     
    MandromineYT likes this.