This worked until two hours ago.
I added stuff to the foreach and it worked and at some point I received this error.
So I started deleting and still get the error with this simple code below.
I reinstalled. Reset the project. Changed file names, update orders and more.
At a lost.
Bug??
InvalidProgramException: Invalid IL code in WinnerSystems:OnUpdate (): IL_008d: brfalse IL_00a1
protected override void OnUpdate()
{
int goal = 1;
Entities.ForEach
(
(Entity e
) =>
{
goal = 2;
}
).Run();