错误:环境中未设置 XDG_RUNTIME_DIR。在 WSL 中尝试运行 Carla 模拟器时

错误:环境中未设置 XDG_RUNTIME_DIR。在 WSL 中尝试运行 Carla 模拟器时

当我在 WSL 中运行 ./CarlaUE4.sh 时,出现以下错误:

4.22.3-0+++UE4+Release-4.22 517 0
Disabling core dumps.
error: XDG_RUNTIME_DIR not set in the environment.
CarlaUE4-Linux-Shipping: ../nptl/pthread_mutex_lock.c:434: __pthread_mutex_lock_full: Assertion `robust || (oldval & FUTEX_OWNER_DIED) == 0' failed.
Signal 6 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=6
Malloc Size=65535 LargeMemoryPoolOffset=131119
Malloc Size=99968 LargeMemoryPoolOffset=231104
Engine crash handling finished; re-raising signal 6 for the default handler. Good bye.
Aborted (core dumped)

我是 WSL 和 Ubuntu 的新手。如果您能解释一下为什么会出现此错误以及如何修复,我将不胜感激。这是 Carla 09.7 版本

相关内容