Defold 1.2.164 has been released

@Mathias_Westerdahl

Well, I’ve rebuild ‘slasher-prototype’ with 171 and run it on iPad with newest iOS 13.6
and catch the same issue, but now with important ‘error-script’ remarks:

Seems, render.get_window_width() and render.get_window_height() return wrong value after iPad was wakeup. Now I’ll try to check this values in update(), as @britzl suggests in the linked topic.

1 Like

So, added values checking to rendercam render-script:


but it not helps, just prevents from error-script messages in console :thinking:

@totebo are you complete solved this issue here? Crash when app comes back from sleep

1 Like

The error still happens, but doesn’t seem to cause a hard crash. I think the Orthographic camera helper module needs to be patched to fix the remaining errors.

2 Likes

Seems issue is fixed :slight_smile:
Not sure what helped: transfer OS on my iPad to iOS 14 (from 13), 1.2.177 version of Defold or additional get_window_with checking in render script, but LyL is correct waking up now.

Happy holidays! :partying_face:

4 Likes

Happy to hear that! @JCash has made changes to the application lifecycle and state handling, although mostly on Android.

3 Likes