Added a check in client code for preventing a created server from trying to load an scene from a directory instead of from a file.