meshfx // POLYCOUNT // UNITY

Is there a polycount limit in Unity

Unity sets no triangle limit, but a mesh with 16-bit indices holds at most 65,535 vertices. Imported models switch to 32-bit indices when needed if Index Format is Auto, and meshes you build in code need IndexFormat.UInt32. Your real budget comes from frame rate, which the Game view's Stats panel helps you watch.

pyrofx effects work today, and new accounts start with $5 of usage.

MODULE // meshfx AVAILABLE

meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the Playground.

  • No triangle limit
  • 16-bit index buffer: 65,535 vertices
  • Index Format in the model import settings

01 // THE LIMIT

The 65,535-vertex index limit

An index buffer lists which vertices make up each triangle. A 16-bit index buffer can address up to 65,535 vertices, and a 32-bit one goes far beyond anything a game mesh needs.

The vertex count that matters is the one after Unity splits vertices at UV seams and hard edges, so it can run well above the number your 3D editor shows. In the model import settings, Index Format set to Auto picks 32-bit for a mesh that needs it. A mesh you build in a script starts as 16-bit, so set the format before you assign vertices.

BigMesh.cs
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;

public static class BigMesh
{
    public static Mesh Build(List<Vector3> vertices, List<int> triangles)
    {
        var mesh = new Mesh { indexFormat = IndexFormat.UInt32 };
        mesh.SetVertices(vertices);
        mesh.SetTriangles(triangles, 0);
        mesh.RecalculateNormals();
        return mesh;
    }
}

02 // STARTING BUDGETS

Starting budgets by target

  • PC or console, third-person camera: 20,000 to 80,000 triangles for the main character and 1,000 to 20,000 for props.
  • Mobile: 3,000 to 15,000 for the main character and 300 to 3,000 for props (mobile budgets).
  • Standalone VR: a fixed, higher frame rate and two views per frame (VR budgets).

Many small meshes with different materials add up even with URP's SRP Batcher. Static batching for scenery and a LOD Group on large props usually buy more frame time than shaving triangles off one hero model.

03 // MEASURE

See the polycount in Unity

  1. Select the model asset and read the vertex and triangle counts in the preview at the bottom of the Inspector.
  2. Enter Play mode, click Stats in the Game view toolbar, and read Tris and Verts for the current frame.
  3. Open Window > Analysis > Profiler and select the Rendering module to follow draw calls and batches over time.
  4. Profile a build on your target device, since the editor itself slows the frame.

04 // meshfx

meshfx for unity polycount

meshfx reduces toward a triangle budget and makes LODs by count, ratio, explicit budgets or error. Each level reports measured distance, outline and faults. Godot 4 is the supported output target. Hosted meshfx runs are available in the Playground.

06 // FAQ

Unity polycount questions

All questions →

README.POLYCOUNT_UNITY
Does Unity have a polycount limit?

Unity sets no triangle limit, though 16 bit index buffers cap at 65,535 vertices before switching to 32 bit indices.

How do I check the polycount of a model in Unity?

Select the model in the Project window and read its triangle and vertex counts in the Inspector preview.

How do I see the polycount of the whole scene in Unity?

Enter Play mode and open the Stats panel in the Game view toolbar to read the Tris and Verts drawn each frame.

What is a good polygon budget for a Unity game character?

Start a third person character at 20,000 to 80,000 triangles on PC or console and 3,000 to 15,000 on mobile.

Explore meshfx outputs

Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.

All effects, guides and explainers →