Skip to content

Profiles and Configuration

Profiles store reusable authored settings in Unity assets. Instead of configuring every scene independently, assign the same profile where you want the same rules, or duplicate it when a world needs its own variation.

A profile is not a running simulation. Two contexts can reference the same profile while keeping their own clocks and calculated state. Editing the shared asset, however, changes the authored configuration referenced by both.

Recognize the different asset roles

Asset Role
CalendarDefinition Calendar structure used by Calendar System
AstronomicalProfile Authored astronomical calculation settings
DayPhaseProfile Day-phase definitions and palettes
SeasonProfile Authored season tracks/cycles and definitions
LunarProfile Authored lunar configuration
CloudProfile Cloud appearance/weather defaults and permitted shape selections
CloudShapeProfile An authored volumetric cloud formation
LifecycleProfile Lifecycle stage/progression configuration
Seasonal/yearly material palettes Authored material-response color configuration
ProfileCatalog Persistence reference resolution; not another simulation system

Not every setting is a profile. Time System settings such as clock mode and rate are on the component. Context ownership and presentation-group bindings are component assignments, not profile selections.

Customize a supplied profile safely

  1. Locate the profile used by the system or response you are configuring. Select its asset reference in the Inspector or find it under the package's Runtime/Data folders.
  2. Decide whether all consumers should share the change. If not, duplicate the asset into your own project folder before editing it.
  3. Give the copy a name that describes the intended world or purpose.
  4. Assign the copy to the intended consumer. For example, Season System exposes Season Profile; do not assign a profile to an unrelated system merely because it is also a ScriptableObject.
  5. Edit the copied asset, inspect any validation messages, then enter Play Mode and check the affected module's state.

You can also create profile assets from Unity's Assets > Create > Sital > Tunal menus. For example, Season Profile, Astronomical Profile, Day Phase Profile, Lunar Profile, and Calendar are distinct asset types. Detailed fields and valid configurations belong to the corresponding system documentation.

Shared assets and runtime changes

Duplicating a context or prefab instance does not automatically make copies of its referenced profiles. Check the references when you intend independent configuration.

Do not rely on Play Mode to protect authored assets: editing a shared ScriptableObject is different from changing per-instance component state. Keep experimental changes in project-owned copies and use source control to review them.

Runtime profile replacement and editing an existing profile are also different operations. For example, SeasonSystem.SetSeasonProfile returns early if passed the same asset reference, while RevalidateProfileAndRefresh() explicitly revalidates an edited profile. Other systems have their own refresh behavior. Do not assume that every arbitrary runtime asset mutation is automatically noticed by every consumer.

Use the documented configuration API for the system you are integrating. Start with Time or the system API reference, then consult the corresponding system/profile guide.

Profiles and saved state

A reusable profile asset is not a save file. Saving selected profile references can require a ProfileCatalog; it does not mean the asset's entire authored contents are serialized into a save. See catalogs and stable IDs for configuration and validation.