Describe the bug
UnrealEditor crashes in gRPCGymConnector::Init when CommunicationManager fails to register a port in StartBackends().
To Reproduce
- Create a training environment in the Unreal Editor, with gRPC as the communication protocol
- Set port to a value that is already in use.
- Press Begin Play in Editor.
Expected behavior
Schola logs an error noting that the server does not start, and then fails gracefully (e.g. gRPCGymConnector marks itself as not started or errored, and training doesn't start rather than crashing the editor).
Screenshots
No response
Additional context
No response
OS
Windows 11
Unreal Engine Version
5.7
Python Version
3.11
Describe the bug
UnrealEditor crashes in
gRPCGymConnector::Initwhen CommunicationManager fails to register a port inStartBackends().To Reproduce
Expected behavior
Schola logs an error noting that the server does not start, and then fails gracefully (e.g.
gRPCGymConnectormarks itself as not started or errored, and training doesn't start rather than crashing the editor).Screenshots
No response
Additional context
No response
OS
Windows 11
Unreal Engine Version
5.7
Python Version
3.11