The console class can create and add components based on the configuration file. It doesn't check if there is already a component with the same name before adding it to the component manager (using AddComponent) which can lead to strange behaviors if the user doesn't see the warning when the console starts. The code should first check if the component exists, and if so report this as a fatal error (either exit or throw exception).
The console class can create and add components based on the configuration file. It doesn't check if there is already a component with the same name before adding it to the component manager (using AddComponent) which can lead to strange behaviors if the user doesn't see the warning when the console starts. The code should first check if the component exists, and if so report this as a fatal error (either exit or throw exception).