godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.4k stars 21.06k forks source link

Exceptions when changing focus or completing a process in iOS (Xcode) #34696

Open Valeryn4 opened 4 years ago

Valeryn4 commented 4 years ago

Godot version: 3.1.1 OS/device including version: ANY

If during application launch, unload the application or change focus to another application - it throws an exception

Friends, my hands are falling. I can not find the source of the error. I no longer know where to look for the cause of the error

A simple 2D game for little children. There is nothing but a third-party “Share” module. An exception is thrown when the focus changes or the application is suddenly unloaded while the application is still loading. (Users do not notice this error, this is a background bug)

Image screen1 Image screen2

TEMPLATE COMPILING IOS:

platform=iphone target=release optimize=size tools=no use_lto=no deprecated=no game_center=no minizip=no xaudio2=no disable_advanced_gui=yes disable_3d=yes no_editor_splash=yes builtin_bullet=no builtin_certs=no builtin_enet=no builtin_libvpx=no builtin_libwebp=no builtin_libwebsockets=no builtin_mbedtls=no builtin_miniupnpc=no builtin_opus=no builtin_pcre2=no builtin_recast=no builtin_squish=no builtin_thekla_atlas=no builtin_xatlas=no debug_symbols=no separate_debug_symbols=no module_bullet_enabled=no module_csg_enabled=no module_cvtt_enabled=no module_dds_enabled=no module_enet_enabled=no module_gdnative_enabled=no module_gridmap_enabled=no module_hdr_enabled=no module_jpg_enabled=no module_mbedtls_enabled=no module_mobile_vr_enabled=no module_mono_enabled=no module_opensimplex_enabled=no module_opus_enabled=no module_pvr_enabled=no module_recast_enabled=no module_regex_enabled=no module_squish_enabled=no module_svg_enabled=no module_tga_enabled=no module_thekla_unwrap_enabled=no module_theora_enabled=no module_tinyexr_enabled=no module_upnp_enabled=no module_visual_script_enabled=no module_webm_enabled=no module_webp_enabled=no module_websocket_enabled=no module_xatlas_unwrap_enabled=no config=force
Calinou commented 4 years ago

There is nothing but a third-party “Share” module.

Could you link to the module in question?

Valeryn4 commented 4 years ago

There is nothing but a third-party “Share” module.

Could you link to the module in question?

https://github.com/Shin-NiL/Godot-Share

Valeryn4 commented 4 years ago

Porting to 3.1.2 stable

Errors if using the default template. image new_screen

When the game starts, there is an interactive loading of resources. If the user minimizes the application when resources are loaded and unloads it from memory, an “exception” occurs.

KoBeWi commented 3 years ago

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?