---
title: FixedLength
product: Unity Editor
version: '6000.7'
latest_version: '7000.0'
status: This page documents version 6000.7. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/6000.7/script-reference/unity/collections/nativefixedlengthattribute/fixedlength
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/collections/nativefixedlengthattribute/fixedlength.md
last_updated: 2026-11-21
generated_at: 2026-11-25T10:57:49.591Z
locale: en-us
---

# FixedLength

> Represents the fixed number of elements in a native container.

## Definition

* **Type:** Field
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ScriptingModule

```csharp
public int FixedLength
```
