bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] Any engine's application crashes when there is no "settings.cfg" config file #81

Closed bnoazx005 closed 2 years ago

bnoazx005 commented 2 years ago

Bug report

Environment

Ubuntu 14.04 x64 / g++ / TDEngine2-v0.5.x / NVidia GTX 860M Win 10 x64 / Visual Studio 2022 / TDEngine2-v0.5.x / NVidia GTX 860M ?

Steps to reproduce the issue

  1. Make sure there is no settings.cfg in working directory
  2. Run SandboxGame application

What's the expected result?

The program should start up successfully with default values for all parameters

What's the actual result?

The program crashes when tries to read inexisting file