Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Diagnostic code · ARA3207

Legacy material syntax

The material uses rejected draft syntax. Parsing returns diagnostics rather than accepting the draft, and a recoverable draft receives a material.text.apply source replacement. Texture-slot migration chooses a semantic fallback because it cannot infer the original asset.

Common causes

  • Material headers or declarations embed draft asset/node IDs, or values use array literals or numeric texture slots.
  • Static parameters use explicit variants arrays, custom calls use custom. prefixes, or cost declarations use positional arrays.

Fixes

  • Review and apply the attached material.text.apply replacement; replace any suggested texture fallback with the intended symbolic asset.

  • Use name-based declarations, scalar or vec/mat/linear/srgb constructors, and static param name : bool = true; for switches.

  • Call custom functions by name and write costs as cost(alu: N, samples: N, branches: N).

  • Code: ARA3207

  • Constant: material::LEGACY_SYNTAX

  • Reported by: ara-material