Hello
Anyone knows any way/reason that the “did” phase of the scene:hide() would not be called, even after the scene is no longer visible on the screen?
function scene:hide( event )
print("here we are, in the hide SCENE")
local sceneGroup = self.view
local phase = event.phase
print("the phase is " .. phase)
produces this code in certain cases:
here we are, in the hide SCENE
the phase is will
and this code in other cases:
here we are, in the hide SCENE
the phase is did
The version is Version 2020.3611 (2020.8.20)
Any ideas?
Note: I was able to overcome it by doing a composer.removeHidden()
on the next screen, but I was expecting that I would not need to do that