Deliver provider-owned thermal profiles

This commit is contained in:
Meta Vens 2026-07-12 06:43:33 +01:00
commit a73051ea4d
18 changed files with 387 additions and 22 deletions

View file

@ -2380,6 +2380,14 @@ internal sealed class AetheriaDaemonYmirSmokeChecks
var boltEffect = assets.Single(asset => asset.Ref.AssetKey == "prefab.effect.shot.bolt");
RequireEqual("effect.shot.bolt", boltEffect.Ref.Metadata["presentationRole"],
"provider manifest must bind semantic shot feedback to its graduated EveUnity effect");
var thermalProfiles = assets.Where(asset =>
string.Equals(asset.Ref.Kind, AetheriaRuntimeAssetKinds.VolumeProfile, StringComparison.Ordinal)).ToArray();
RequireEqual(5, thermalProfiles.Length,
"provider manifest must advertise every original thermal and death volume profile");
Require(thermalProfiles.All(asset =>
asset.Ref.Metadata.ContainsKey("unityAssetPath") &&
asset.Ref.Metadata.ContainsKey("presentationRole")),
"thermal profiles must cross the CDN boundary with exact Unity paths and semantic roles");
}
private static void PickupIsCapacityCheckedExactlyOnceAndExpires()

View file

@ -1886,8 +1886,9 @@ static EveAssetCatalogDocument BuildCoreAssetCatalog(
var assets = (source.Assets ?? Array.Empty<AetheriaRuntimeAssetManifestEntry>())
.Where(entry => entry?.Ref != null &&
string.Equals(entry.Ref.Kind, AetheriaRuntimeAssetKinds.Prefab, StringComparison.Ordinal) &&
(entry.Ref.Metadata.TryGetValue("resourcesPath", out _) || entry.Ref.Metadata.TryGetValue("unityAssetPath", out _)))
(entry.Ref.Metadata.TryGetValue("unityAssetPath", out _) ||
string.Equals(entry.Ref.Kind, AetheriaRuntimeAssetKinds.Prefab, StringComparison.Ordinal) &&
entry.Ref.Metadata.TryGetValue("resourcesPath", out _)))
.Select(entry =>
{
var unityAssetPath = entry.Ref.Metadata.TryGetValue("unityAssetPath", out var explicitPath)
@ -1911,7 +1912,8 @@ static EveAssetCatalogDocument BuildCoreAssetCatalog(
.ToArray(),
new Dictionary<string, string>(StringComparer.Ordinal)
{
["mimeType"] = entry.Ref.MimeType ?? ""
["mimeType"] = entry.Ref.MimeType ?? "",
["presentationRole"] = entry.Ref.Metadata.TryGetValue("presentationRole", out var role) ? role : ""
});
})
.OrderBy(entry => entry.AssetRef, StringComparer.Ordinal)

View file

@ -76,6 +76,7 @@ RequireMainMenuContinueRunState(root);
RequireUnityObserverDoesNotTickLocalSimulation(root);
RequireUnityDoesNotCallSharedSimulationTicks(root);
RequireDaemonEnergyAndThermalAuthority(root);
RequireThermalPresentationAssetAuthority(root);
RequireUnityPhysicsIsNotGameplayAuthority(root);
RequireDeadPropertiesPanelShellDeleted(root);
RequireTypedBehaviorMetadataCoverage(root);
@ -16462,6 +16463,39 @@ static void RequireDaemonEnergyAndThermalAuthority(string root)
"Daemon tick order must pump radiators before reactor settlement, then conduct and radiate the resulting cell heat.");
}
static void RequireThermalPresentationAssetAuthority(string root)
{
var assets = File.ReadAllText(Path.Combine(root, "Packages", "org.gamecult.aetheria.state", "Runtime", "AetheriaRuntimeAssets.cs"));
var daemon = File.ReadAllText(Path.Combine(root, "Aetheria.State.Daemon", "Program.cs"));
var builder = File.ReadAllText(Path.Combine(root, "Assets", "Editor", "EveAssetBundleBuilder.cs"));
var migrator = File.ReadAllText(Path.Combine(root, "Assets", "Editor", "EveThermalProfileMigrator.cs"));
var sink = File.ReadAllText(Path.Combine(root, "Aetheria.Unity", "Assets", "AetheriaUnityThermalPresentationSink.cs"));
var manifest = File.ReadAllText(Path.Combine(root, "Aetheria.Unity", "Packages", "manifest.json"));
var required = new[]
{
"post.thermal.heatstroke", "post.thermal.severe-heatstroke",
"post.thermal.hypothermia", "post.thermal.severe-hypothermia", "post.death",
"Assets/Generated/Eve/Thermal/Heatstroke.asset",
"EveThermalProfileMigrator.EnsureGenerated()",
"[\"presentationRole\"] = entry.Ref.Metadata.TryGetValue",
"IEveUnityThermalPresentationAssetSink",
"assets.Heatstroke as VolumeProfile",
"_death.weight = frame.DeathWeight",
"b112acb34d1e2561f1e770a9088bd0123e6614ab"
};
var body = assets + daemon + builder + migrator + sink + manifest;
var missing = required.Where(symbol => !body.Contains(symbol, StringComparison.Ordinal)).ToArray();
if (missing.Length > 0)
throw new InvalidOperationException(
"Thermal presentation assets must remain provider-owned, role-addressed CDN artifacts lowered by the generic EveUnity sink contract: " +
string.Join(", ", missing));
if (sink.Contains("HeatstrokeTemperature", StringComparison.Ordinal) ||
sink.Contains("HypothermiaTemperature", StringComparison.Ordinal) ||
sink.Contains("Mathf.Sin", StringComparison.Ordinal))
throw new InvalidOperationException(
"The Aetheria Unity thermal sink may bind profiles and weights but may not reconstruct medical or phasing authority.");
}
static void RequireUnityDoesNotCallSharedSimulationTicks(string root)
{
var checkedRoots = new[]

View file

@ -3,6 +3,8 @@ using System.Collections;
using System.IO;
using GameCult.Eve.UnityScene;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
public sealed class AetheriaUnityClient : MonoBehaviour
{
@ -18,6 +20,7 @@ public sealed class AetheriaUnityClient : MonoBehaviour
var replicaPath = Path.Combine(Application.persistentDataPath, "aetheria-unity.cc");
CreateView();
gameObject.AddComponent<AetheriaUnityThermalPresentationSink>();
_provider = gameObject.AddComponent<EveUnityCultMeshPlayableWorldProvider>();
_provider.Configure(
endpoint,
@ -41,8 +44,12 @@ public sealed class AetheriaUnityClient : MonoBehaviour
private static void CreateView()
{
var pipeline = UniversalRenderPipelineAsset.Create();
GraphicsSettings.defaultRenderPipeline = pipeline;
QualitySettings.renderPipeline = pipeline;
var cameraObject = new GameObject("Main Camera") { tag = "MainCamera" };
var camera = cameraObject.AddComponent<Camera>();
cameraObject.AddComponent<UniversalAdditionalCameraData>().renderPostProcessing = true;
camera.clearFlags = CameraClearFlags.SolidColor;
camera.backgroundColor = new Color(0.025f, 0.035f, 0.055f);
camera.nearClipPlane = 0.05f;

View file

@ -0,0 +1,54 @@
using GameCult.Eve.UnityScene;
using UnityEngine;
using UnityEngine.Rendering;
public sealed class AetheriaUnityThermalPresentationSink : MonoBehaviour,
IEveUnityThermalPresentationSink, IEveUnityThermalPresentationAssetSink
{
private Volume _heatstroke;
private Volume _severeHeatstroke;
private Volume _hypothermia;
private Volume _severeHypothermia;
private Volume _death;
public EveUnityThermalPresentationFrame LastFrame { get; private set; }
private void Awake()
{
_heatstroke = CreateVolume("Heatstroke");
_severeHeatstroke = CreateVolume("Severe Heatstroke");
_hypothermia = CreateVolume("Hypothermia");
_severeHypothermia = CreateVolume("Severe Hypothermia");
_death = CreateVolume("Death");
}
public void ConfigureThermalPresentationAssets(EveUnityThermalPresentationAssets assets)
{
_heatstroke.sharedProfile = assets.Heatstroke as VolumeProfile;
_severeHeatstroke.sharedProfile = assets.SevereHeatstroke as VolumeProfile;
_hypothermia.sharedProfile = assets.Hypothermia as VolumeProfile;
_severeHypothermia.sharedProfile = assets.SevereHypothermia as VolumeProfile;
_death.sharedProfile = assets.Death as VolumeProfile;
}
public void ApplyThermalPresentation(EveUnityThermalPresentationFrame frame)
{
LastFrame = frame;
_heatstroke.weight = frame.HeatstrokeWeight;
_severeHeatstroke.weight = frame.SevereHeatstrokeWeight;
_hypothermia.weight = frame.HypothermiaWeight;
_severeHypothermia.weight = frame.SevereHypothermiaWeight;
_death.weight = frame.DeathWeight;
}
private Volume CreateVolume(string label)
{
var root = new GameObject(label);
root.transform.SetParent(transform, false);
var volume = root.AddComponent<Volume>();
volume.isGlobal = true;
volume.priority = 100;
volume.weight = 0;
return volume;
}
}

View file

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 85872e4612f94611b391fc274976820f

View file

@ -5,9 +5,10 @@
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.uielements": "1.0.0",
"com.unity.render-pipelines.universal": "17.4.0",
"org.gamecult.cultlib": "https://github.com/GameCult/CultLib.git?path=/unity/org.gamecult.cultlib#cultlib-unity-source-v1.0.3-r2",
"org.gamecult.eve.plugin-fields": "https://github.com/GameCult/EvePlugins.git?path=/plugins/eve-plugin-fields/unity/org.gamecult.eve.plugin-fields#eve-plugin-fields-unity-v0.1.1",
"org.gamecult.eve.surface": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.surface#eveunity-surface-v0.1.0",
"org.gamecult.eve.unity-scene": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#580af5328d4c5db4295432cb918402ce762c960a"
"org.gamecult.eve.unity-scene": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#b112acb34d1e2561f1e770a9088bd0123e6614ab"
}
}

View file

@ -1,5 +1,27 @@
{
"dependencies": {
"com.unity.burst": {
"version": "1.8.29",
"depth": 2,
"source": "registry",
"dependencies": {
"com.unity.mathematics": "1.2.1",
"com.unity.modules.jsonserialize": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.collections": {
"version": "6.4.0",
"depth": 2,
"source": "builtin",
"dependencies": {
"com.unity.burst": "1.8.23",
"com.unity.mathematics": "1.3.2",
"com.unity.nuget.mono-cecil": "1.11.5",
"com.unity.test-framework": "1.4.6",
"com.unity.test-framework.performance": "3.0.3"
}
},
"com.unity.ext.nunit": {
"version": "2.0.5",
"depth": 1,
@ -13,6 +35,60 @@
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.nuget.mono-cecil": {
"version": "1.11.6",
"depth": 3,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.render-pipelines.core": {
"version": "17.4.0",
"depth": 1,
"source": "builtin",
"dependencies": {
"com.unity.burst": "1.8.14",
"com.unity.mathematics": "1.3.2",
"com.unity.ugui": "2.0.0",
"com.unity.collections": "2.4.3",
"com.unity.modules.terrain": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
}
},
"com.unity.render-pipelines.universal": {
"version": "17.4.0",
"depth": 0,
"source": "builtin",
"dependencies": {
"com.unity.render-pipelines.core": "17.4.0",
"com.unity.shadergraph": "17.4.0",
"com.unity.render-pipelines.universal-config": "17.4.0"
}
},
"com.unity.render-pipelines.universal-config": {
"version": "17.4.0",
"depth": 1,
"source": "builtin",
"dependencies": {
"com.unity.render-pipelines.core": "17.4.0"
}
},
"com.unity.searcher": {
"version": "4.9.4",
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.shadergraph": {
"version": "17.4.0",
"depth": 1,
"source": "builtin",
"dependencies": {
"com.unity.render-pipelines.core": "17.4.0",
"com.unity.searcher": "4.9.3"
}
},
"com.unity.test-framework": {
"version": "1.6.0",
"depth": 0,
@ -23,6 +99,25 @@
"com.unity.modules.jsonserialize": "1.0.0"
}
},
"com.unity.test-framework.performance": {
"version": "3.4.0",
"depth": 3,
"source": "registry",
"dependencies": {
"com.unity.test-framework": "1.1.33",
"com.unity.modules.jsonserialize": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.ugui": {
"version": "2.0.0",
"depth": 2,
"source": "builtin",
"dependencies": {
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.imgui": "1.0.0"
}
},
"org.gamecult.cultlib": {
"version": "https://github.com/GameCult/CultLib.git?path=/unity/org.gamecult.cultlib#cultlib-unity-source-v1.0.3-r2",
"depth": 0,
@ -47,7 +142,7 @@
"hash": "e10821f1cc81f619479c6507438f6a097d1f0ce2"
},
"org.gamecult.eve.unity-scene": {
"version": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#580af5328d4c5db4295432cb918402ce762c960a",
"version": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#b112acb34d1e2561f1e770a9088bd0123e6614ab",
"depth": 0,
"source": "git",
"dependencies": {
@ -56,7 +151,7 @@
"org.gamecult.eve.surface": "0.1.0",
"com.unity.mathematics": "1.3.2"
},
"hash": "580af5328d4c5db4295432cb918402ce762c960a"
"hash": "b112acb34d1e2561f1e770a9088bd0123e6614ab"
},
"com.unity.modules.assetbundle": {
"version": "1.0.0",
@ -94,6 +189,12 @@
"source": "builtin",
"dependencies": {}
},
"com.unity.modules.terrain": {
"version": "1.0.0",
"depth": 2,
"source": "builtin",
"dependencies": {}
},
"com.unity.modules.ui": {
"version": "1.0.0",
"depth": 1,

View file

@ -17,22 +17,25 @@ namespace Aetheria.Editor
private static void Build(BuildTarget target)
{
EveThermalProfileMigrator.EnsureGenerated();
var output = Environment.GetEnvironmentVariable("AETHERIA_EVE_BUNDLE_OUTPUT");
if (string.IsNullOrWhiteSpace(output))
output = Path.GetFullPath(Path.Combine("Build", "EveAssets", target.ToString()));
Directory.CreateDirectory(output);
var assetNames = AetheriaRuntimeAssets.ProjectManifest(null).Assets
.Where(entry => string.Equals(entry.Ref.Kind, AetheriaRuntimeAssetKinds.Prefab, StringComparison.Ordinal))
.Select(entry => entry.Ref.Metadata.TryGetValue("resourcesPath", out var path)
? $"Assets/Resources/{path}.prefab"
: "")
.Select(entry => entry.Ref.Metadata.TryGetValue("unityAssetPath", out var explicitPath)
? explicitPath
: entry.Ref.Metadata.TryGetValue("resourcesPath", out var path) &&
string.Equals(entry.Ref.Kind, AetheriaRuntimeAssetKinds.Prefab, StringComparison.Ordinal)
? $"Assets/Resources/{path}.prefab"
: "")
.Where(path => !string.IsNullOrWhiteSpace(path) && File.Exists(path))
.Distinct(StringComparer.Ordinal)
.OrderBy(path => path, StringComparer.Ordinal)
.ToArray();
if (assetNames.Length == 0)
throw new InvalidOperationException("Aetheria Eve bundle has no provider prefab assets.");
throw new InvalidOperationException("Aetheria Eve bundle has no provider Unity assets.");
var manifest = BuildPipeline.BuildAssetBundles(
output,

View file

@ -0,0 +1,78 @@
using System.IO;
using UnityEditor;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
namespace Aetheria.Editor
{
public static class EveThermalProfileMigrator
{
public const string Root = "Assets/Generated/Eve/Thermal";
public static void EnsureGenerated()
{
Directory.CreateDirectory(Root);
Create("Heatstroke", new Color(0.41509432f, 0.072190315f, 0), 0.66f,
0.666f, 51, 2, 49, 30, 8, 0.5f, false);
Create("Severe Heatstroke", new Color(0.41509432f, 0.072190315f, 0), 1,
0.666f, 0, -3, 0, -36, 8, 1, true);
Create("Hypothermia", new Color(0, 0.11663109f, 0.41568628f), 0.66f,
0.666f, 51, 2, 49, 30, 8, 0.5f, false);
Create("Severe Hypothermia", new Color(0, 0.24793181f, 0.33962262f), 1,
0.666f, 0, -3, 0, -36, 8, 1, true);
Create("Death", Color.black, 0.3f, 0.4f, 0, 1, 0, 0, 3, 0.25f, true,
overrideVignetteColor: false, focalLength: 3);
AssetDatabase.SaveAssets();
AssetDatabase.Refresh();
}
private static void Create(string name, Color vignetteColor, float vignetteIntensity,
float vignetteSmoothness, float temperature, float exposure,
float contrast, float saturation, float bloomIntensity, float grainIntensity, bool depthOfField,
bool overrideVignetteColor = true, float focalLength = 39)
{
var path = $"{Root}/{name}.asset";
AssetDatabase.DeleteAsset(path);
var profile = ScriptableObject.CreateInstance<VolumeProfile>();
AssetDatabase.CreateAsset(profile, path);
var vignette = profile.Add<Vignette>(true);
vignette.color.overrideState = overrideVignetteColor;
vignette.color.value = vignetteColor;
vignette.intensity.Override(vignetteIntensity);
vignette.smoothness.Override(vignetteSmoothness);
var color = profile.Add<ColorAdjustments>(true);
color.postExposure.Override(exposure);
color.contrast.overrideState = contrast != 0;
color.contrast.value = contrast;
color.saturation.Override(saturation);
if (temperature != 0)
{
var balance = profile.Add<WhiteBalance>(true);
balance.temperature.Override(temperature);
}
var bloom = profile.Add<Bloom>(true);
bloom.intensity.Override(bloomIntensity);
bloom.threshold.Override(1.5f);
bloom.scatter.Override(1f);
var grain = profile.Add<FilmGrain>(true);
grain.type.Override(FilmGrainLookup.Thin1);
grain.intensity.Override(grainIntensity);
if (depthOfField)
{
var focus = profile.Add<DepthOfField>(true);
focus.mode.Override(DepthOfFieldMode.Bokeh);
focus.focusDistance.Override(0.1f);
focus.aperture.Override(0.1f);
focus.focalLength.Override(focalLength);
}
EditorUtility.SetDirty(profile);
}
}
}

View file

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 51fe860175ac44d4ba38c7a301822482

View file

@ -2033,7 +2033,8 @@ public class DaemonRuntimeDocumentTests
new AetheriaRuntimeDaemonIntentState(),
0.1,
AetheriaRuntimeDaemonSimulationSettings.AetheriaDefault,
new PassthroughPhysicalPayloadPhysics());
new PassthroughPhysicalPayloadPhysics(),
new PassthroughWorldPhysics());
var zone = FindZone(run, 0);
Assert.IsNotEmpty(zone.PhysicalPayloads);
@ -2135,7 +2136,8 @@ public class DaemonRuntimeDocumentTests
new AetheriaRuntimeDaemonIntentState(),
0.1,
settings,
new PassthroughPhysicalPayloadPhysics());
new PassthroughPhysicalPayloadPhysics(),
new PassthroughWorldPhysics());
var zone = FindZone(run, 0);
var projectile = zone.PhysicalPayloads.Single(projectile => projectile.SourceEntityIndex == 0);
@ -2216,7 +2218,8 @@ public class DaemonRuntimeDocumentTests
new AetheriaRuntimeDaemonIntentState(),
0.1,
AetheriaRuntimeDaemonSimulationSettings.AetheriaDefault,
new PassthroughPhysicalPayloadPhysics());
new PassthroughPhysicalPayloadPhysics(),
new PassthroughWorldPhysics());
Assert.IsTrue(pilot.CargoContents.SelectMany(bay => bay.Items).Any(slot => slot.Item.ItemKey == "raider-salvage"));
Assert.IsEmpty(wreck.CargoContents);
@ -4531,10 +4534,6 @@ public class DaemonRuntimeDocumentTests
Assert.AreEqual(1, targetZone.Entities[1].EntityIndex);
Assert.AreEqual(300, targetZone.Entities[1].PositionX, 0.0001);
Assert.AreEqual(400, targetZone.Entities[1].PositionZ, 0.0001);
Assert.AreEqual(1, result.Intents.Towing.Count);
Assert.AreEqual("global:aetheria.run_state.daemon-command-apply-run.zone.3.entity.1.v1", result.Intents.Towing[0].ActorEntityKey);
Assert.AreEqual("zone.3.entity.0", result.Intents.Towing[0].StationEntityKey);
Assert.AreEqual(3, result.Intents.Towing[0].TargetZoneIndex);
}
[Test]
@ -5577,4 +5576,22 @@ public class DaemonRuntimeDocumentTests
}
}
private sealed class PassthroughWorldPhysics : IAetheriaRuntimeWorldPhysics
{
public string AuthorityId => "test.world-passthrough";
public AetheriaRuntimeWorldStep Step(AetheriaRuntimeZoneSnapshotCommit zone,
IReadOnlyList<AetheriaRuntimeEntitySnapshotCommit> entities, double deltaSeconds)
{
return new AetheriaRuntimeWorldStep(
entities.Select(entity => new AetheriaRuntimeWorldBodyStep
{
EntityIndex = entity.EntityIndex, PositionX = entity.PositionX, PositionZ = entity.PositionZ,
VelocityX = entity.VelocityX, VelocityY = entity.VelocityY,
DirectionX = entity.DirectionX, DirectionY = entity.DirectionY
}).ToArray(),
Array.Empty<AetheriaRuntimeWorldPickupStep>(), Array.Empty<AetheriaRuntimeWorldContact>());
}
}
}

View file

@ -16,6 +16,7 @@ namespace GameCult.Aetheria.State.Verse
public const string Shader = "shader";
public const string Audio = "audio";
public const string Prefab = "prefab";
public const string VolumeProfile = "unity.volume-profile";
}
public static class AetheriaRuntimeAssetTransports

View file

@ -31,6 +31,7 @@ namespace GameCult.Aetheria.State.Verse
Add(entries, DestructionEffect());
Add(entries, MapProjectPrefab("prefab.entity.pickup", "Pickup", "Assets/Prefabs/RPG/Pickups/Tetrahedron.prefab"));
Add(entries, MinePrefab());
foreach (var profile in ThermalPresentationProfiles()) Add(entries, profile);
foreach (var inventoryAsset in InventoryUiAssets())
Add(entries, inventoryAsset);
@ -203,6 +204,44 @@ namespace GameCult.Aetheria.State.Verse
};
}
private static AetheriaRuntimeAssetManifestEntry MapProjectAsset(
string key, string kind, string label, string unityAssetPath, string presentationRole)
{
return new AetheriaRuntimeAssetManifestEntry
{
Ref = new AetheriaRuntimeAssetRef
{
AssetKey = key, Kind = kind ?? "", Uri = CultMeshAssetUri(key),
MimeType = "application/vnd.unity.asset",
Metadata = new Dictionary<string, string>(StringComparer.Ordinal)
{
["unityAssetPath"] = (unityAssetPath ?? "").Replace('\\', '/'),
["presentationRole"] = presentationRole ?? ""
}
},
Tags = new[] { "presentation", "thermal", label ?? "" }
};
}
private static IReadOnlyList<AetheriaRuntimeAssetManifestEntry> ThermalPresentationProfiles() =>
new[]
{
MapProjectAsset("profile.thermal.heatstroke", AetheriaRuntimeAssetKinds.VolumeProfile,
"Heatstroke", "Assets/Generated/Eve/Thermal/Heatstroke.asset",
"post.thermal.heatstroke"),
MapProjectAsset("profile.thermal.severe-heatstroke", AetheriaRuntimeAssetKinds.VolumeProfile,
"Severe heatstroke", "Assets/Generated/Eve/Thermal/Severe Heatstroke.asset",
"post.thermal.severe-heatstroke"),
MapProjectAsset("profile.thermal.hypothermia", AetheriaRuntimeAssetKinds.VolumeProfile,
"Hypothermia", "Assets/Generated/Eve/Thermal/Hypothermia.asset",
"post.thermal.hypothermia"),
MapProjectAsset("profile.thermal.severe-hypothermia", AetheriaRuntimeAssetKinds.VolumeProfile,
"Severe hypothermia", "Assets/Generated/Eve/Thermal/Severe Hypothermia.asset",
"post.thermal.severe-hypothermia"),
MapProjectAsset("profile.death", AetheriaRuntimeAssetKinds.VolumeProfile,
"Death", "Assets/Generated/Eve/Thermal/Death.asset", "post.death")
};
private static AetheriaRuntimeAssetManifestEntry MinePrefab()
{
var entry = MapProjectPrefab(

View file

@ -1,4 +1,5 @@
using System;
using System.Linq;
using GameCult.Eve.Surface;
using GameCult.Mesh;

View file

@ -1950,9 +1950,14 @@ First Aetheria surfaces to publish:
EveUnity now lowers the original severe heatstroke pulse and retained thermal
death chronology into a renderer-neutral native sink frame, including an
immediate settled result on reconnect rather than replaying stale death.
Rotated equipment footprints, parent/child radiation, provider-advertised
native volume profiles, schematic composition, and canonical sink wiring
remain migration work rather than presentation authority.
Aetheria deterministically translates the five broken legacy thermal/death
profiles into clean URP profiles and advertises those generated assets through
its CultMesh CDN catalog. EveUnity resolves arbitrary typed native assets by
semantic role, and the canonical client sink only binds profiles and applies
normalized weights. Legacy SSR/AO/roundness equivalents, rotated equipment
footprints, parent/child radiation, schematic composition, canonical
render-pipeline activation, and rendered capture remain migration work rather
than presentation authority.
- `dotnet list package --vulnerable --include-transitive` is clean for active
maintained projects.
- CultCache smoke proves write, flush, reopen, query, and typed reference

View file

@ -23,7 +23,7 @@ validation proves contract shape, not wiring, exclusivity, lowering, or parity.
| Targeting/contacts | sensors + `ActionGameManager` | daemon | contact/target semantics | target HUD and indicators | simplified owner wired/projected; daemon weapon lock now acquires and decays from facing, elapsed time, and observer-local contact confidence instead of granting an immediate perfect lock | target-switch reset, angular decay, visibility/nearest/explicit cases, and runtime lock feedback |
| Projectile flight | weapon/projectile classes | Eve presentation for ordinary tracers; Ymir for persistent physical payloads | receipt trajectory/effect facts or persistent payload state | native projectile visual | ordinary instant, charged, and constant execution creates no projectile body; each weapon state owns a stable shot sequence and receipts carry origin, endpoint, nominal duration, and effect identity for Eve presentation; `SpawnProjectile` and its alternate writer are deleted; Ymir projectile contacts are feedback-only for explicitly persisted payload rows and cannot write damage; Ymir.Core remains embedded for world integration, radial fields, circle contacts, pickups, and genuinely persistent/interceptable payloads | split/rename the remaining physical-payload interface and remove ordinary projectile terminology from runtime contracts |
| Shield/armor/equipment/hull damage | energy-funded shield, schematic armor cells, equipment and scalar hull | daemon canonical damage transaction | aggregate/exact armor grid, entity status, and layer-aware shot/damage receipts | schematic, meters, impacts, damage VFX | owner-exists; wired; exclusive; projected: daemon initializes armor/maximum-armor grids from hull plus hardpoint catalog topology; direct and deployable damage share one `shield -> armor cell -> equipment -> scalar hull` transaction; direct impacts select a cell or complete hardpoint footprint before orthogonal spread and 0.5-cell penetration, while splash payloads select the source-facing hull half; the fossil penetration infinite-loop defect is fixed; damage type is typed/pass-through without resistances because the fossil never applied them; Eve exposes aggregate and exact armor state and receipts identify reached/applied layers; fake Ymir contacts and presentation cannot decide damage | fossil parity fixtures for topology, edge impacts, orthogonal spread, multi-cell penetration, equipment interception, and generic shield/equipment effect lifecycle |
| Thermal/energy | cell conduction, capacitor/reactor/radiator network, and cockpit thermal exposure | daemon | ship/equipment power, temperature, medical state, risk and death feedback | schematic/post effects | owner-exists; wired; exclusive; projected; generic timing lowered: catalog hull and installed-item shapes derive cell mass/conductivity/topology; local temperature derives thermal performance, wear potential and online state; all consumers share capacitor-first/reactor-residual transactions; powered radiators pump before reactor settlement; reactor heat then enters the same cell network before conduction/radiation; cockpit-cell temperature drives the fossil nonlinear heatstroke/hypothermia accumulation, linear recovery, severe-risk crossings, and ordinary exactly-once destruction with a typed cause; Eve exposes cockpit, risk, heatstroke source-weight, phasing and death-transition facts; EveUnity generically resolves the original severe pulse plus live/reconnect-safe cause-specific death crossfade into a renderer-neutral native sink frame; rotated equipment topology, parent/child radiation, exact provider volume assets, schematic composition and native sink wiring remain incomplete | multi-consumer ordering, multi-radiator visibility, rotated topology, provider-advertised thermal profiles, generic schematic meters and rendered capture of live/reconnect death fade |
| Thermal/energy | cell conduction, capacitor/reactor/radiator network, and cockpit thermal exposure | daemon | ship/equipment power, temperature, medical state, risk and death feedback | schematic/post effects | owner-exists; wired; exclusive; projected; generic timing and native asset delivery lowered: catalog hull and installed-item shapes derive cell mass/conductivity/topology; local temperature derives thermal performance, wear potential and online state; all consumers share capacitor-first/reactor-residual transactions; powered radiators pump before reactor settlement; reactor heat then enters the same cell network before conduction/radiation; cockpit-cell temperature drives the fossil nonlinear heatstroke/hypothermia accumulation, linear recovery, severe-risk crossings, and ordinary exactly-once destruction with a typed cause; Eve exposes cockpit, risk, heatstroke source-weight, phasing and death-transition facts; EveUnity generically resolves the original severe pulse plus live/reconnect-safe cause-specific death crossfade; Aetheria deterministically translates the five broken legacy profiles into clean URP profiles, advertises them by semantic role through CultMesh CDN, and binds them in the canonical client through a weight-only native sink; rotated equipment topology, parent/child radiation, schematic composition, legacy SSR/AO/roundness equivalents, canonical render-pipeline activation and rendered parity remain incomplete | multi-consumer ordering, multi-radiator visibility, rotated topology, generic schematic meters, renderer-feature parity, active URP capture and live/reconnect death-fade screenshots |
| Weapons | ServerShared behaviors + Unity effects | daemon plus Ymir geometry/kinematics | action capability, weapon state, shot/damage receipts | effects/audio/HUD | instant and constant resource/timing lifecycles are daemon-owned; charged weapons accept one semantic request, spool without requiring a solution, hold at full charge, commit automatically when a solution appears, and perform deterministic once-per-second malfunction hazard checks after the authored safe hold interval with increasing persisted risk; generic Eve `weapon.state` exposes charge hold/risk and feedback exposes readiness, commit, refusal, and malfunction chronology; committed direct damage now enters the shared daemon armor-cell transaction | guided persistent payloads, visibility/wear, remaining impact-distribution parity, and Unity effect reconciliation |
| Destruction/drops | hull death, 25% equipment rolls, unconditional cargo drops, 25-unit launch, 30-second pickups | daemon | destruction identity, death/drop events, typed pickups | provider-advertised destruction effect and pickups | owner-exists; wired; exclusive; projected: direct and deployable lethal damage commit one deterministic destruction transaction, clear live references, retain only a non-rendered identity tombstone, and emit exact pickups/events; the reserved client `DestroyEntity` command is rejected; Aetheria advertises its original big explosion as `effect.feedback.entity.destroyed`, lowered generically by EveUnity | equipment-destruction-before-hull parity and multiplayer reconnect chronology |
| Tractor/scoop | analog tractor and physical timed pickups | daemon + Ymir | tractor power, pickup body and receipt | beam/interaction feedback | fossil 2/s power ramp and authored forward radius/traction/distance feed pickup bodies into the shared Ymir world; shield contact collects exactly once when capacity permits or applies the fossil 25-unit rejection kick; 30s daemon lifetime; instant cargo teleport deleted | prove generic runtime beam, contact, success and rejection feedback |

View file

@ -113,6 +113,16 @@ and no hypothermia lockout was connected. Thermal exposure therefore does not
silently attenuate or reject semantic controls. The daemon owns medical state
and death; the runtime owns only meter, volume, and transition lowering.
The serialized fossil profiles target a retired post-processing schema and
contain missing script references in the current Unity body. They are evidence,
not deployable assets. `EveThermalProfileMigrator` deterministically generates
clean URP profiles with the supported authored values: vignette color/intensity/
smoothness, white balance, exposure, contrast, saturation, bloom, grain, and
depth of field. Legacy vignette roundness, screen-space reflections, and ambient
occlusion have no equivalent portable volume parameter; they remain explicit
renderer-feature parity gaps. The generated profiles, not the broken fossil
files, are the assets advertised through CultMesh CDN.
## Effects And Audio
Weapon and impact effects consume semantic event facts and provider asset refs.