sdslabs/Rubeus

User code executing prior to engine initialization

twaritwaikar opened this issue · 1 comments

Master HEAD: v1.0

OS version: Windows 10 Home Edition

Steps to Reproduce: Compile on a new Windows machine where CMake is run from scratch.

Issue Presentation Code:
During the creation of RLevel objects on the user's side, engine systems become suddenly inactive (or they are not being constructed in time) which gives an access violation error on dereferencing NULL pointers.

The cause is probably this: The order of initialization of global variables in different translation units is unspecified. source