object Render;
int iScriptVersion = 54128;
void Main() {}
the engine would crash if you tabbed out.
This was caused by the fact that no services get initialized by the script, but upon losing focus the sound service is requested to mute the audio.
This will then request the render service, which fails to create because it is running in unfocused full-screen mode.
Not a very useful or common scenario, but it's always better for things not to crash.
If you create an "empty" project with the following files:
engine.ini
main.c
the engine would crash if you tabbed out.
This was caused by the fact that no services get initialized by the script, but upon losing focus the sound service is requested to mute the audio. This will then request the render service, which fails to create because it is running in unfocused full-screen mode.
Not a very useful or common scenario, but it's always better for things not to crash.