Prove released generic Aetheria client

This commit is contained in:
Meta Vens 2026-07-19 00:33:07 +01:00
commit 8d2feccbe2
7 changed files with 40 additions and 20 deletions

View file

@ -28,7 +28,9 @@ public static class GenericEveUnityRenderPipeline
feature.name = "Eve Unity World Effects";
AssetDatabase.AddObjectToAsset(feature, renderer);
renderer.rendererFeatures.Add(feature);
EditorUtility.SetDirty(feature);
}
renderer.SetDirty();
EditorUtility.SetDirty(renderer);
var pipeline = AssetDatabase.LoadAssetAtPath<UniversalRenderPipelineAsset>(PipelinePath);
@ -41,6 +43,8 @@ public static class GenericEveUnityRenderPipeline
GraphicsSettings.defaultRenderPipeline = pipeline;
QualitySettings.renderPipeline = pipeline;
EditorUtility.SetDirty(pipeline);
AssetDatabase.SaveAssetIfDirty(renderer);
AssetDatabase.SaveAssetIfDirty(pipeline);
AssetDatabase.SaveAssets();
}
}

View file

@ -24,10 +24,11 @@ MonoBehaviour:
probeSamplingDebugMesh: {fileID: 0}
probeSamplingDebugTexture: {fileID: 0}
probeVolumeBlendStatesCS: {fileID: 0}
m_RendererFeatures: []
m_RendererFeatures:
- {fileID: 7891961340342901043}
m_RendererFeatureMap:
m_UseNativeRenderPass: 0
postProcessData: {fileID: 0}
postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2}
m_AssetVersion: 3
m_PrepassLayerMask:
serializedVersion: 2
@ -53,3 +54,16 @@ MonoBehaviour:
m_DepthTextureFormat: 0
m_AccurateGbufferNormals: 0
m_IntermediateTextureMode: 1
--- !u!114 &7891961340342901043
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 340385338d304b5aaf069562d4e7b457, type: 3}
m_Name: Eve Unity World Effects
m_EditorClassIdentifier: GameCult.Eve.UnityScene::GameCult.Eve.UnityScene.EveUnityRendererFeature
m_Active: 1

View file

@ -596,9 +596,11 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests
"The low-hull witness raider was not destroyed by daemon combat.");
Assert.That(destructionPickupObserved || pickupCollection != null || pickupRejection != null, Is.True,
"Daemon destruction did not publish its guaranteed cargo as a pickup.");
var collectionDeadline = Time.realtimeSinceStartup + 15f;
// The provider advances a fixed-step simulation while also publishing the large SoA witness.
// Allow enough wall time for the tractor to cover its advertised volume without making the
// generic client manufacture ship motion or loot authority.
var collectionDeadline = Time.realtimeSinceStartup + 45f;
var nextTractorAimAt = 0f;
var salvageApproachActive = false;
while (Time.realtimeSinceStartup < collectionDeadline &&
(expectCargoRejection ? pickupRejection == null : pickupCollection == null))
{
@ -619,12 +621,8 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests
continue;
tractorAim.Normalize();
runtime.SubmitLookDirectionIntent(playerId, tractorAim.x, 0f, tractorAim.z);
runtime.SubmitMoveVectorIntent(playerId, 0f, 1f, 1f);
salvageApproachActive = true;
nextTractorAimAt = Time.realtimeSinceStartup + 0.25f;
nextTractorAimAt = Time.realtimeSinceStartup + 0.5f;
}
if (salvageApproachActive)
runtime.SubmitMoveVectorIntent(playerId, 0f, 0f, 0f);
finalPickupEntityCount = host.PresentedEntities.CurrentGeneration.Entities.Count(entity =>
string.Equals(entity.EntityKind, "pickup", StringComparison.Ordinal));
if (expectCargoRejection)
@ -793,7 +791,10 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests
var temporalSettlingDeadline = Time.realtimeSinceStartup + 20f;
while (captureFieldVolume.CompositeCount - initialCompositeCount < temporalSettlingFrames &&
Time.realtimeSinceStartup < temporalSettlingDeadline)
{
camera.Render();
yield return null;
}
Assert.That(captureFieldVolume.CompositeCount - initialCompositeCount,
Is.GreaterThanOrEqualTo(temporalSettlingFrames),
"The pilot capture ran before the advertised temporal reconstruction had settled.");