Search Unity

  1. We are looking for your feedback about Templates! Tell us about your experiences by taking our survey.
    Dismiss Notice
  2. Curious about what's going to be in 2021.1? Have a look at the 2021.1 beta blog post.
    Dismiss Notice

Bug Debug camera controls included with Tiny.Particles and Tiny.UI via Tiny.RendererExtras

Discussion in 'Project Tiny' started by james0x0A, Feb 17, 2021.

  1. james0x0A

    james0x0A

    Joined:
    Jul 18, 2013
    Posts:
    5
    Summary:
    The debug system CameraKeyControl of Unity.Tiny.RendererExtras is unexpectedly and undesirably included when Unity.Tiny.Particles or Unity.Tiny.UI are referenced in a project.

    Detail:
    I spent a couple of hours last night trying to figure out some unexpected camera behavior. I finally linked it to Unity.Tiny.RendererExtras via a few posts on this forum, but Unity.Tiny.RendererExtras was not explicitly referenced in my project. After a little digging I found that both Unity.Tiny.Particles and the new Unity.Tiny.UI package reference Unity.Tiny.RendererExtras in order to gain access to the MeshHelper class. Unfortunately any time that Unity.Tiny.RendererExtras is referenced it also causes the CameraKeyControl system to be automatically registered in the update loop and the debugging features of that system are included when the project is built. I believe that the automatic registration of the debug camera is undesirable if the rest of the assembly includes unrelated functionality.
     
    djsell likes this.
  2. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    289
    Hi
    Thanks for reporting this
    We have a fix coming in the next tiny release
     
unityunity