VisualPinball / VisualPinball.Engine.Mpf

Mission Pinball Framework support for VPE
MIT License
0 stars 1 forks source link

Unity editor gets stuck after MPF crashes #29

Open arthurkehrwald opened 6 days ago

arthurkehrwald commented 6 days ago

If MPF crashes for whatever reason (e.g. invalid config), the Unity editor will get stuck on domain reload next time play mode is entered. To reproduce:

  1. Enter play mode with an invalid MPF config (MPF will crash immediately)
  2. Exit play mode
  3. Attempt to enter play mode again. The domain reload will never finish. You are now stuck :(
arthurkehrwald commented 5 days ago

I found the line it gets stuck on: _client.Quit(new QuitRequest()); in method MpfClient.Shutdown