Camera and GUI Zoom Issue on Different Tizen Devices in Unity Game

Original Created Sep 30, 2017 | Regeneration Apr 22, 2026

I'm developing a Unity game for Tizen devices and encountering a display issue. On Tizen Z3, the game renders correctly, but on devices with lower resolution (Z1, Z2, Z4), both the camera view and GUI appear zoomed in.

Attached is a comparison image showing the difference in rendering between devices. How can I resolve this zooming issue to ensure consistent display across all Tizen devices?

Problem Understanding

The issue occurs due to different screen resolutions across Tizen devices. Unity's camera and UI systems need proper configuration to handle varying screen sizes and resolutions consistently.

Solution Methods

  1. Camera Configuration:

    • Set the camera's field of view and clipping planes appropriately
    • Use Screen.width and Screen.height to adjust camera settings dynamically
    • Consider using orthographic projection for 2D games
  2. UI Scaling:

    • Configure Canvas Scaler component in Unity
    • Set the UI Scale Mode to "Scale With Screen Size"
    • Choose a reference resolution that matches your target devices
  3. Resolution Handling:

    • Implement a resolution-independent design
    • Use anchor points for UI elements
    • Test on multiple devices during development

Code Examples

// Example for dynamic camera adjustment
void Start() {
    Camera.main.orthographicSize = Screen.height / 2f;
}

// Canvas Scaler configuration
// Attach this script to your Canvas object
[RequireComponent(typeof(CanvasScaler))]
public class UIScaler : MonoBehaviour {
    void Start() {
        CanvasScaler scaler = GetComponent<CanvasScaler>();
        scaler.uiScaleMode = CanvasScaler.ScaleMode.ScaleWithScreenSize;
        scaler.referenceResolution = new Vector2(1920, 1080); // Set your base resolution
        scaler.screenMatchMode = CanvasScaler.ScreenMatchMode.MatchWidthOrHeight;
        scaler.matchWidthOrHeight = 0.5f; // Balance between width and height
    }
}

Additional Tips

  • Test your game on multiple devices during development
  • Consider using Unity's Device Simulator package to preview different resolutions
  • For complex UI layouts, implement responsive design patterns
  • Remember that different Tizen devices may have different aspect ratios

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.