Solved Enum in the plugin code in c#

Joined
Jan 8, 2024
Messages
13
Reactions
0
Has anyone encountered such a glitch?
I'm writing a plugin in c#. As soon as I try to use my enum in the code (in any form), the game crashes without an error message and is unloaded.

Are enums prohibited in the code, or is this my personal local glitch?
 
Understood. Has accepted.
If only someone could explain what’s so dangerous about enums in C# code that they had to be removed from the VAM sandbox, and in such a brutal way…
 
Upvote 0
what’s so dangerous about enums in C# code that they had to be removed from the VAM sandbox, and in such a brutal way…

You really think that it was a wanted effect haha?
That's not a wanted situation, that's the realtime compiler which apparently cannot compile enums properly, something meshed never found a way to fix.
 
Upvote 0
Back
Top Bottom