ue4-socketio-crash
Test project for demonstrating crash on SocketIO in UnrealEngine 4.15.2 using Flask-SocketIO.
Requirements
- Python 2.7
- (Windows only) Install the VC++ compiler for Python 2.7 (http://www.microsoft.com/en-us/download/details.aspx?id=44266)
Install instructions
-
Download PyCharm (https://www.jetbrains.com/pycharm/download/) - Community Edition is sufficient
-
Open this repository
-
Set interpreter to Python2.7
- Go to "File" -> "Settings"
- Search for "Interpreter"
- Set to Python 2.7
-
Open ue-crash-dummy.py
-
PyCharm should now display that some requirements are missing -> click "Install requirements"
Steps to reproduce
-
In UnrealEngine 4 create a SocketIO client
- Connect to Address and Port: ws://localhost:5000
-
Emit the following event: testEvent
- UnrealEngine should crash
-
Restart UnrealEngine
-
Emit the following event: testEventWithException
- In this event I raise an Exception within the event in Python. This (at least that's what I guess) causes the server to not return anything
- UnrealEngine should not crash