Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

UI Toolkit World Space?

Discussion in 'UI Toolkit' started by robinspots, Jun 8, 2020.

  1. robinspots

    robinspots

    Joined:
    May 10, 2018
    Posts:
    13
    I'm loving the UI Builder and USS system!

    I'm hoping that it's possible to render a UI in world space. There seems to be a 'target texture'
    RenderTexture for that exact purpose but whenever I attach a render texture to my Panel Renderer I get the following error:

    NullReferenceException
    UnityEditor.SceneView.OnGUI () (at <cf7d2c2e83f749e8943578126f9eff4b>:0)
    System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)

    etc...

    Does anyone know of a workaround?
     
  2. mcoted3d

    mcoted3d

    Unity Technologies

    Joined:
    Feb 3, 2016
    Posts:
    689
    I'm unable to reproduce this issue using the "CPH2019RuntimeDemo" project. Do you have a simple example that reproduces the issue?
     
  3. mbeh4678

    mbeh4678

    Joined:
    Aug 30, 2019
    Posts:
    1
    Do you have any update on this? This is exactly the problem I am dealing with.
     
  4. mcoted3d

    mcoted3d

    Unity Technologies

    Joined:
    Feb 3, 2016
    Posts:
    689
    No update, never reproduced this issue. Feel free to file a new bug (Help > Report a Bug...) on a project that reproduces the issue.
     
unityunity