Report CultMesh provider identity mismatches
This commit is contained in:
parent
912e5aac79
commit
41008f1e46
2 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
Reference in a new issue