Report CultMesh provider identity mismatches

This commit is contained in:
Meta Vens 2026-07-13 22:06:27 +01:00
commit 41008f1e46
2 changed files with 3 additions and 2 deletions

View file

@ -346,7 +346,8 @@ namespace GameCult.Eve.UnityScene
{
ResolveAdvertisement();
if (!string.Equals(document.ProviderId, _advertisement!.ProviderId, StringComparison.Ordinal))
throw new UnauthorizedAccessException("Entity layout provider does not match the advertised Eve provider.");
throw new UnauthorizedAccessException(
$"Entity layout provider '{document.ProviderId}' does not match advertised Eve provider '{_advertisement.ProviderId}'.");
if (document.Buffers == null || document.Buffers.Length == 0)
throw new InvalidOperationException("Entity layout does not name a primary logical buffer.");
var handle = BodyPublicationHandle(document);

View file

@ -1,7 +1,7 @@
{
"name": "org.gamecult.eve.unity-scene",
"displayName": "Eve Unity Scene Lowering",
"version": "0.3.1",
"version": "0.3.2",
"unity": "2021.3",
"description": "Provider-agnostic Unity scene shell for gamecult.eve.surface.v1 interactive world surfaces.",
"dependencies": {