bnoazx005 / TDEngine2

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

[Bug] The loading of main scene from a file breaks engine's construction process #87

Closed bnoazx005 closed 2 years ago

bnoazx005 commented 2 years ago

Bug report

When project settings contains information about existing file of a main scene the application's execution failed.

Environment

Win 10 x64 / Visual Studio 2022 / TDEngine2-v0.6.x / NVidia RTX 3070 Super

Steps to reproduce the issue

  1. Create some scene and mark it as main
  2. Specify a path to the scene within *.project file
  3. Run the application

What's the expected result?

The specified scene should be loaded in synchronous manner and marked as a persistent scene

What's the actual result?

An assert is raised when an instance of a scene manager is created