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.
  2. Dismiss Notice

Camera Zoomed in on Release Build

Discussion in 'Project Tiny' started by UniversalCreative, May 22, 2019.

  1. UniversalCreative


    Apr 4, 2019
    I have a regular camera showing regular things. When I tap on a sprite, a new entity group is created. It has a canvas with an image. Everything works fine in develop mode.

    When I switch to release mode, things don't go so well. Everything starts off fine. But when I tap on the sprite, the camera(s) becomes extremely zoomed in. Both the newly created canvas and the old sprite are zoomed in a lot.

    I have read everything I can find on release build bugs, and the only thing I saw was to "Check symbols in the release build". ( This did not help.

    Any ideas? The only alternative I can think of is to just use 2D sprites instead of a canvas, meaning I would not be able to change text during runtime - I could only have images prebaked with text.

    Free cookie to whoever can help me.
  2. Rupture13


    Apr 12, 2016
    Don't know much about the zooming ?bug? you're experiencing. My first guess would be to look at all the camera settings and build settings for relating to the camera (such as "Auto-Resize Canvas" which you would likely want to be true). You could perhaps cross-reference your settings with mine in this thread about camera responsive projects too.

    Another thing to note though, is that text can exist in world space and doesn't need to be a Canvas/UI entity. (Underwater the textRenderer is a normal spriteRenderer too, I found).