Skip to content

Conversation

@deltanedas
Copy link
Contributor

@deltanedas deltanedas commented Jan 23, 2026

for this example pseudocode:

public sealed class EpicSystem<TComp> : EntitySystem
{
    public static readonly ProtoId<ShaderPrototype> SomeShader = "Hello";
}

currently when validating protoids you get a useless exception with 0 information whatsoever
this pr makes it so you have the protoid type and the field name, which makes fixing the issue fairly trivial

Field Robust.Shared.Prototypes.ProtoId`1[Robust.Client.Graphics.ShaderPrototype] SomeShader cannot be a static field inside a generic class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant