Unity editor 100% crash when a minecraft server running on the local machine

What a horrible situation.

Unity editor 100% crash when a minecraft server is running on local machine.
Both start a server while editor is running and start an editor while running a server crash unity editor.

Tested environment
=== crashed ===
Unity editor versions: 2020.1.17f1, 2020.3.9f1, 2020.3.16f1, 2021.1.13f1, 2021.1.20f1
Minecraft server version: Spigot bukkit 1.17.1, Paper bukkit 1.17.1 with Docker https://hub.docker.com/r/itzg/minecraft-server
Minecraft server port: 27015

=== Not crashed ===
Unity editor versions: 2019.4.4f1

Some error logs

  1. Editor.log

    ========== OUTPUTTING STACK TRACE ==================

0x00007FF8D2984F99 (KERNELBASE) RaiseException
0x00007FF8A1C64844 (UnityEditor.iOS.Native) UsbmuxdGetDeviceCount
0x00007FF8A1C619E6 (UnityEditor.iOS.Native) UsbmuxdGetDeviceCount
0x00007FF8A1C558A0 (UnityEditor.iOS.Native) InitializePlatformSupportNativeLibrary
0x00007FF8A1C592E4 (UnityEditor.iOS.Native) InitializePlatformSupportNativeLibrary
0x00007FF8A1C59357 (UnityEditor.iOS.Native) InitializePlatformSupportNativeLibrary
0x00007FF8A1C5BB8D (UnityEditor.iOS.Native) InitializePlatformSupportNativeLibrary
0x00007FF8D3E47034 (KERNEL32) BaseThreadInitThunk
0x00007FF8D4EC2651 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

  1. error.log
    Unity Editor by Unity Technologies [version: Unity 2021.1.13f1_a03098edbbe0]

KERNELBASE.dll caused a Microsoft C++ Exception (0xe06d7363)
in module KERNELBASE.dll at d2984f99.

Error occurred at 2021-10-04_045428.
D:\Program Files\Unity\2021.1.13f1\Editor\Unity.exe, run by KCY.

This seems not related to unity version.
I will test 2019.4.4f1 with iOS module.

Yep. 2019.4.4f1 with iOS module crashed.
It’s related with iOS module.

Here’s how you file a bug report:

You can be sure that Unity does not currently do any QA validation with a minecraft server running.

2 Likes