Prove provider material textures survive lowering

This commit is contained in:
Meta Vens 2026-07-15 09:27:48 +01:00
commit 84d781c4b1
3 changed files with 14 additions and 5 deletions

View file

@ -484,6 +484,8 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests
.Where(material => material != null)
.Distinct()
.Count(HasAnyTexture);
Assert.That(texturedPlayerMaterialCount, Is.GreaterThanOrEqualTo(3),
"The provider bundle must retain its advertised native material textures.");
var directionalLightIntensity = UnityEngine.Object.FindObjectsOfType<Light>()
.Where(light => light != null && light.enabled && light.type == LightType.Directional)
.Sum(light => light.intensity);