---
title: FixedLength
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/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-20
generated_at: 2026-11-26T12:11:58.443Z
locale: en-us
---

# FixedLength

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

## Definition

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

```csharp
public int FixedLength
```
