unity freezes when entering play mode