Machine goes off in cold weather while gearing

Hello! I have a problem with my R125 from 2022. After 2-3 days of service life in wet cold nights with temperatures just below 0 degrees the machine starts normal in the morning, but as soon as I want to switch to the first gear, the engine goes off again, as if the side stand had still gone out. In the workshop the problem did not occur after a cold night, unfortunately you can not help me there either. Probably the side stand switch is affected, Does any of you have similar experiences? If so, how could you fix the problem? Thank you in advance!