Hi spaceclick,
In my older build I didn't change the version from 0.8.1 to 0.8.2. which mean I did small update without changing the version. so it was like 0.8.1.1 which is what I meant to say in my previous response.
In 0.8.1 there was a typo in my variables it was set as
ENEMY_FACTION_UNKOWN instead of ENEMY_FACTION_UNKNOWN missing the "N" which has been resolved since 0.8.1.2.
I'm curious, Is this error coming from the itch Demo or the Steam playtest?
The build we're currently on is 0.8.2 on both the Steam playtest should be 0.8.2 and I think it's the same for the itch Demo.