/ue4-socketio-crash

Test project for demonstrating crash on SocketIO in UnrealEngine 4 using Flask-SocketIO

Primary LanguagePythonMIT LicenseMIT

ue4-socketio-crash

Test project for demonstrating crash on SocketIO in UnrealEngine 4.15.2 using Flask-SocketIO.

Requirements

Install instructions

  1. Download PyCharm (https://www.jetbrains.com/pycharm/download/) - Community Edition is sufficient

  2. Open this repository

  3. Set interpreter to Python2.7

    1. Go to "File" -> "Settings"
    2. Search for "Interpreter"
    3. Set to Python 2.7
  4. Open ue-crash-dummy.py

  5. PyCharm should now display that some requirements are missing -> click "Install requirements"

Steps to reproduce

  1. In UnrealEngine 4 create a SocketIO client

    1. Connect to Address and Port: ws://localhost:5000
  2. Emit the following event: testEvent

    1. UnrealEngine should crash
  3. Restart UnrealEngine

  4. Emit the following event: testEventWithException

    1. 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
    2. UnrealEngine should not crash