[UPBGE 0.36] Bug report - UPBGE Crash When Activating Actuator

There was a program crash when I activate actuator in “pause” function

I’m quite sure that the problem occurred when activate “self.cont.activate(self.cont.actuators[‘Hide HUD’])”. because I try put to all actuator. there was only this one which make program crash.

def resume(self):
        screen_x = render.getWindowWidth() // 2
        screen_y = render.getWindowHeight() // 2
        render.setMousePosition(screen_x, screen_y)
        render.showMouse(0)
        self.main['pause'] = 0
        
        self.cont.activate(self.cont.actuators['Hide Menu'])
        self.cont.activate(self.cont.actuators['Show HUD'])
        self.cont.activate(self.cont.actuators['Resume'])
        
    def pause(self):
        self.cont.activate(self.cont.actuators['Pause'])
        self.cont.activate(self.cont.actuators['Show Menu'])
        self.cont.activate(self.cont.actuators['Hide HUD'])
        
        self.showPanel('Main Slide')
        render.showMouse(1)
        self. Main['pause'] = 1

The actuator I connected to to code.

Here is a crash log file.
UPBGE_0.36.crash.txt (53.4 KB)