Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Unity ScriptableObject Data

Sets up Unity ScriptableObjects for game data and events without lost values or assets missing from builds.

Claude's review

7/10 Good ScriptableObject patterns with Play-mode reset under disabled domain reload, FormerlySerializedAs and build-stripping gotchas.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Unity 6.3 LTS data and decoupling with ScriptableObjects: CreateAssetMenu config assets, shared runtime variables, event channels and .asset files made from code. Use for replacing singletons, data-driven items or cards, or values that persist after leaving Play mode. Not for saving progress (`save-systems`) or Godot Resources (`godot-resources`).

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: unity-scriptableobjects
description: >
  Unity 6.3 LTS data and decoupling with ScriptableObjects: CreateAssetMenu config assets, shared
  runtime variables, event channels and .asset files made from code. Use for replacing singletons,
  data-driven items or cards, or values that persist after leaving Play mode. Not for saving
  progress (`save-systems`) or Godot Resources (`godot-resources`).
---

# Unity ScriptableObject Architecture

Use `ScriptableObject` assets in Unity 6.3 LTS (6000.3) for shared data and for decoupling
systems: configuration, event channels and registries that live as project assets instead of
scene singletons. An SO asset is a YAML file you can read and check without the Editor.

## When to use

- Designer-editable config (weapon stats, level data), one value shared by unrelated
  systems, senders and listeners that should not reference each other, a live registry of
  active objects without scene scans.
- The project has `*.asset` files backed by `: ScriptableObject` classes.

**When not to use:** state that differs per GameObject belongs on a MonoBehaviour, since an SO
asset is shared by everyone who references it; saving progress → `save-systems`; plain data
that never needs to be an asset can be a `[System.Serializable]` class.

## Workflow

1. **Define the class** deriving from `ScriptableObject`, in a file with the same name, with
   `[CreateAssetMenu]` so designers can create instances.
2. **Create the assets.** Designers use the Assets > Create menu. From code, use an editor
   script (pattern 3) so Unity writes the `.asset` and its `.meta` with a valid GUID. Do not
   hand-write a new `.asset` file: the `m_Script` GUID must match the script's `.meta`.
3. **Reference, do not copy.** MonoBehaviours hold a `[SerializeField]` reference; every
   consumer sees the same data.
4. **Keep mutable runtime state out of serialized fields** (`[System.NonSerialized]`) and
   reset it when Play mode starts (pattern 2), because Play-mode edits to an asset persist in
   the Editor.
5. **Make sure builds include the asset.** Only assets referenced from a scene in the build,
   from another included asset, from a `Resources` folder or from Addressables ship in the
...

From gamedev-skills's repository, Apache-2.0 licence.

Related skills

  • Checked

    Game Audio Mixing

    Sets up game audio buses, volume sliders, music ducking and adaptive music for Godot, Unity or FMOD.

    by gamedev-skills 13k
    8/101 credit
  • Checked

    Game camera tuning

    Builds and tunes follow, orbit and first person game cameras in Godot or Cinemachine so they stop jittering.

    by gamedev-skills 13k
    8/101 credit
  • Checked

    Game Enemy AI

    Designs enemy AI with perception, pathfinding and steering so enemies chase fairly and never get stuck.

    by gamedev-skills 13k
    8/101 credit
  • Checked

    Game Loop and Timing

    Makes movement, timers and physics behave the same at any frame rate in Unity, Godot, Bevy and web games.

    by makifbaysal 123
    7/101 credit
  • Checked

    Godot Game Testing

    Writes and runs Godot tests with gdUnit4 or GUT, including scene tests and headless runs that report real results.

    by makifbaysal 123
    7/101 credit
  • Checked

    Game Security Review

    Reviews Unity, Godot and Unreal code for cheats that hurt other players, purchase exploits and unsafe save files.

    by makifbaysal 123
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added