xLua icon indicating copy to clipboard operation
xLua copied to clipboard

unity M1 version DllNotFoundException: xlua assembly

Open BeatMicrosoft opened this issue 2 years ago • 4 comments

use m1 mac download unity(2021.3.1f1c1 SILICON) when I run my project, occur this error DllNotFoundException: xlua assembly

BeatMicrosoft avatar May 13 '22 09:05 BeatMicrosoft

  1. compile m1 version plugin using this: https://github.com/Tencent/xLua/blob/master/build/make_osx_lua53.sh
  2. remove Assets/Plugins/xlua.bundle/
  3. place xlua.bundle (build by step 1) to Assets/Plugins/arm64/

chexiongsheng avatar Jun 13 '22 06:06 chexiongsheng

  1. compile m1 version plugin using this: https://github.com/Tencent/xLua/blob/master/build/make_osx_lua53.sh
  2. remove Assets/Plugins/xlua.bundle/
  3. place xlua.bundle (build by step 1) to Assets/Plugins/arm64/

Thanks a lot.

shroudpatric avatar Aug 01 '22 06:08 shroudpatric

经测试,执行上述操作时候,需要确保build目录下没有plugin_lua53文件夹

DZRgogogo avatar Aug 13 '22 17:08 DZRgogogo

  1. compile m1 version plugin using this: https://github.com/Tencent/xLua/blob/master/build/make_osx_lua53.sh
  2. remove Assets/Plugins/xlua.bundle/
  3. place xlua.bundle (build by step 1) to Assets/Plugins/arm64/
  1. include only Editor and Standalone スクリーンショット_2023-03-04_7_49_29

teach310 avatar Mar 03 '23 23:03 teach310