WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Releases: Tencent/puerts

Unity_v3.0.0,PESAPI_VERSION:11

05 Dec 10:39

Choose a tag to compare

每个tar.gz解压后是一个package。通过unity的包管理器即可引入。
其中PuerTS_Core_3.0.0.tar.gz是核心包,这个是必须安装的。
其它都是语言/后端引擎扩展,可根据自己需要下载安装。
PuerTS_V8_3.0.0.tar.gz、PuerTS_Nodejs_3.0.0.tar.gz、PuerTS_Quickjs_3.0.0.tar.gz和PuerTS_Webgl_3.0.0.tar.gz都是js语言扩展。
PuerTS_Lua_1.0.0-beta1.tar.gz是lua语言扩展。
PuerTS_Python_1.0.0-beta1.tar.gz是python语言扩展。
各扩展包目前对平台的支持如下:

Window Mac Linux Android IOS Webgl
PuerTS_V8 ✔️ ✔️ ✔️ ✔️ ✔️
PuerTS_Nodejs ✔️ ✔️ ✔️ ✔️ ✔️
PuerTS_Quickjs ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
PuerTS_Webgl ✔️
PuerTS_Lua ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
PuerTS_Python ✔️ ✔️ ✔️

其中PuerTS_Webgl虽然只支持web,但它的脚本是运行在web环境的原生js虚拟机里,通常性能更高(比如在ios小游戏环境里支持jit),也能享受first class语言诸如方便调试,profiler等好处。

中文版本请查看 doc/unity/zhcn/changelog.md

difference between Node.js/Quickjs/V8: wiki

Unity_v2.2.3,ApiLevel:35

28 Nov 09:16

Choose a tag to compare

[2.2.3] - 2025-11-28

  1. webgl采用FinalizationRegistry+weakref双重机制保障对象回收 fix #2199
  2. 修复传一个已经销毁的jsenv的jsobject到一个正常jsenv会导致崩溃的问题
  3. il2cpp优化下LowMemoryNotification也是可用的
  4. il2cpp优化和pinvoke版本一系列参数校验不对齐的问题修正
  5. il2cpp优化版本对于nulable更好的支持
  6. 解决传bigint给uint参数会崩溃的问题
  7. 解决虚方法调用没有调用到子类的问题
  8. 解决非public方法及属性也会导出到js的问题 fix #2241
  9. il2cpp优化含引用类型的结构体,其引用字段设置后可能被gc的问题 fix #2243
  10. 反射支持枚举的ref

[2.2.3] - 2025-11-28

  1. WebGL adopts a dual mechanism of FinalizationRegistry + WeakRef to ensure object collection fix #2199
  2. Fixed a crash caused by passing a JSObject from a destroyed JS env into a normal JS env
  3. In the il2cpp-optimized build, LowMemoryNotification is also available
  4. Fixed a series of parameter validation mismatches between the il2cpp-optimized and P/Invoke versions
  5. Improved support for nullable types in the il2cpp-optimized version
  6. Fixed a crash when passing a BigInt to a uint parameter
  7. Fixed an issue where virtual method calls did not invoke subclass implementations
  8. Fixed non-public methods and properties being exported to JS fix #2241
  9. Fixed an issue in the il2cpp-optimized version where reference fields in structs containing reference types could be garbage collected after being set fix #2243
  10. Reflection now supports enum by ref

difference between Node.js/Quickjs/V8: wiki

Unity_v2.2.2 for android 16kb alignment

11 Sep 12:42

Choose a tag to compare

中文版本请查看 doc/unity/zhcn/changelog.md

difference between Node.js/Quickjs/V8: wiki