Fixing guid issues. Fixing crash on relog. Fixing update issue when creating new UnitEntity