Make a Roblox mesh that fits the limits
You model or generate the mesh, cut it under Roblox's limit of 20,000 triangles, keep one material and import it with File, Import in Studio. A scanned stone went from 24,910 to 3,998 triangles and kept its texture. Avatar accessories have a lower limit of 4,000 triangles.

Scanned, 24,910 triangles
Compiled, 3,998 triangles
- 24,910Triangles in the scanned stone
- 3,998Triangles after one compile, 84% fewer
- 20,000Triangles Roblox allows in one mesh
- $5Free signup credit for 50 mesh Drafts
The stone keeps its color, normal and roughness maps. It comes from a CC0 scan on Poly Haven and was compiled on the hosted API on 3 December 2026.
Roblox mesh limits
Roblox sets one budget for meshes in your experience and a lower one for avatar items.
| Limit | Mesh in your experience | Avatar accessory |
|---|---|---|
| Triangles | 20,000 per mesh | 4,000 |
| Shape | Watertight, with some thickness | Watertight, one mesh |
| Materials | One per mesh | One per mesh |
| Textures | Up to 4,096 px, streamed by distance | Up to 2,048 px on the Marketplace |
| Size | 2,048 studs on each side | Set by accessory type and body scale |
| File types | FBX, glTF, GLB and OBJ | FBX, glTF, GLB and OBJ |
Studio cuts a mesh that goes over the limit, but you don't control what it removes. Cut the mesh yourself first. The numbers come from Roblox's general specifications and rigid accessory specifications, checked on 3 December 2026.
How to make a Roblox mesh
- Start from a model in Blender, or from an image-to-3D generator. Roblox reads FBX, glTF, GLB and OBJ files.
- Read the triangle count in Blender's Statistics overlay. Aim under 20,000 for a prop and under 4,000 for an avatar accessory.
- Cut the mesh to your target. Protect the silhouette first, because players see the outline before the surface detail.
- Keep one material with one set of textures, and close any holes so the mesh is watertight.
- In Studio, choose File, then Import, and pick your file. Set Scale Unit to the unit you modeled in. Studs is the default.
- Read the Importer's warnings, then import. A GLB arrives as a Model with its MeshParts inside.
Set CollisionFidelity to Box or Hull on props that players only bump into. See Roblox CollisionFidelity and Roblox LOD.
Blender for Roblox UGC
Blender is free and exports every file type the Importer reads. For an avatar accessory, model one watertight mesh under 4,000 triangles, with textures no larger than 2,048 px.
Export FBX with Path Mode set to Copy and Embed Textures on. Set Apply Scalings to FBX Units Scale. Turn off Add Leaf Bones, and turn off Bake Animation unless the mesh is animated.
Spatial Compiler doesn't replace Blender. Model and rig there, then send the mesh to your agent to cut its triangles and read a fault report before you upload. It doesn't build the cages that layered accessories need.
Compile a Roblox mesh over MCP
An agent sends the file, checks the price and runs a Draft. Your first 50 mesh Drafts are free with the $5 signup credit.
[meta]
name = "stone_roblox"
[source]
kind = "scan"
file = "stone.glb"
[units]
size_m = 0.2
[simplify]
triangles = 4000
[uv]
mode = "keep"
The report lists the triangles before and after, whether the mesh is watertight, and any warnings. The scanned stone came back at 3,998 triangles, closed, with all three texture maps. Import the GLB in Roblox Studio yourself and look it over. Spatial Compiler does not open Studio or check the import.
More Roblox guides
Use with your agent
Paste the prompt into Claude Code, Cursor or Codex. Your agent connects to Spatial Compiler and comes back with a lighter GLB with its textures and a report of the measured triangle count.
New accounts start with $5 of usage, and you see the price of each job before it runs.
Connect the Spatial Compiler MCP server at https://spatialcompiler.dev/mcp if it isn't connected yet. Use meshfx to bring my model under 4,000 triangles for Roblox, keep its textures and report the triangle count. Run a Draft first. Your first 50 mesh Drafts are free with the $5 signup credit. Ask before running a final compile.
Or add the server yourself in Claude Code:
claude mcp add --transport http spatial-compiler https://spatialcompiler.dev/mcp
Roblox mesh questions
How do I import a 3D model into Roblox Studio with textures?
Choose File, then Import in Studio and pick an FBX, glTF, GLB or OBJ file. Embed the textures in an FBX or GLB so they arrive with the mesh. Read the Importer's warnings before you click Import.
What is the triangle limit for a Roblox mesh?
Roblox allows 20,000 triangles per mesh in your experience. Avatar accessories have a lower limit of 4,000.
How do I make 3D models in Blender for Roblox?
Model one watertight mesh with one set of textures. Export FBX with Path Mode set to Copy and Embed Textures on, then import it with File, Import in Studio. Check the triangle count before you export.
How do I fix a mesh in Roblox Studio?
Most broken meshes have holes, inside-out faces or too many triangles. Fix them in your 3D editor and import the file again. A fault report from Spatial Compiler counts each problem so you know what to fix.
What is the maximum polycount for a Roblox UGC accessory?
A rigid or layered accessory can't go over 4,000 triangles, and its Marketplace textures can't go over 2,048 by 2,048 pixels. Other item types have their own limits, so check the specification for yours.
What is a mesh in Roblox Studio?
A mesh is a 3D shape you import instead of building it from Roblox's basic parts. Studio holds it in a MeshPart. Use one for any shape a block, wedge or cylinder can't make.