Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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:
    9
    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:
    319
    Hi
    Thanks for reporting this
    We have a fix coming in the next tiny release