This monorepo's main components:
Packages/com.unity.cloud.gltfast- Unity package for import/export of glTF 3D assetsPackages/com.unity.cloud.gltfast.tests- Unit and integration testsProjects/- Contains multiple Unity projects with different setups for development and testingProjects/glTFast-Test- main test project
- C# version: 9.0
- Never create
.metafiles directly. The Unity Editor will create them automatically - Prefer state return values over C# exceptions (that may not work in Web builds)
- Once code modifications are complete, ensure correct code format (as depicted by
.editorconfig) by runningdotnet format Projects/glTFast-Test/glTFast-Test.sln - Follow the .NET Framework Design Guidelines
Optimize code for fast execution and minimize the amount of managed memory allocated.
- Prefer using
NativeCollectioncontainers such asNativeArrayover managed containers. - Parallelize data processing
- Prefer the C# job system (
IJob) - Alternatively use
System.Threading, minding the special behavior ofUnitySynchronizationContext
- Prefer the C# job system (
- Use the Burst compiler (
BurstCompileAttribute) where applicable
This project has a graphify knowledge graph at graphify-out/.
Rules:
- Before answering architecture or codebase questions, read graphify-out/GRAPH_REPORT.md for god nodes and community structure
- If graphify-out/wiki/index.md exists, navigate it instead of reading raw files
- For cross-module "how does X relate to Y" questions, prefer
graphify query "<question>",graphify path "<A>" "<B>", orgraphify explain "<concept>"over grep — these traverse the graph's EXTRACTED + INFERRED edges instead of scanning files - After modifying code files in this session, run
graphify update .to keep the graph current (AST-only, no API cost)