wave4-native-disable-container-safety-restriction

Community

Enable per-worker scratch containers in Burst

AuthordyCuong03
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves Unity DOTS Job safety failures and performance slowdowns when an IJobChunk job needs per-worker scratch NativeContainer during parallel execution.

Core Features & Use Cases

  • Per-worker scratch NativeContainers: Uses [NativeDisableContainerSafetyRestriction] so each parallel worker can keep its own scratch instance.
  • IJobChunk-focused correctness pattern: Leans on IJobChunk job-struct copy semantics so ownership is not shared across workers.
  • Risk-aware guidance: Clearly defines when not to use the attribute to avoid silent races.

Quick Start

Ask the AI to update your IJobChunk that uses a per-chunk scratch NativePriorityHeap so each worker has its own container safely, and to include the correct attribute plus the required initialization guard.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: wave4-native-disable-container-safety-restriction
Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#wave4-native-disable-container-safety-restriction

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.