Skip to content

Unity_v2.2.2,ApiLevel:34

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 13 May 07:55

[2.2.2] - 2025-05-13

  1. Fixed the issue where the WebGL build tool would repeatedly execute npm install on Windows.
  2. Added support for One-Click Export for WeChat Mini Games.
  3. Resolved the "token overflowed internal buffer" compilation error, added DisallowedType checks, and fixed cases where wrappers referenced undeclared value types (fixes #2039).
  4. Prevented exceptions caused by missing eval in WebGL environments from being directly thrown in JS, which could halt the program.
  5. Removed the restriction requiring Puerts.WebGL.MainEnv.Get to create JsEnv in WebGL builds.
  6. Added support for Unity's "Faster (smaller) builds" option (equivalent to WeChat export tool's "il2cpp optimize size") (#2046).
  7. Fixed errors when accessing C# in native setTimeout callbacks under WebGL.
  8. Optimized memory usage by removing storage of class/field names and storing method names as const char* pointers instead.

[2.2.2] - 2025-5-13

  1. 解决webgl打包工具windows下会重复npm i安装的问题
  2. 微信小游戏一键导出的支持
  3. 解决“token overflowed internal buffer”编译错误,并加入DisallowedType的判断,wrap引用了值类型但没声明的情况,fix #2039
  4. webgl环境没有eval的异常不直接抛在js,这会导致程序halt
  5. 不再限制webgl下必须得用Puerts.WebGL.MainEnv.Get来创建JsEnv
  6. 支持Unity生成的“Faster (smaller) builds”选项(对应微信导出工具的il2cpp optimize size ) (#2046)
  7. 修正webgl环境下,原生setTimeout回调中访问C#报错的问题
  8. 优化掉类名和字段名的存放,方法名改为存放const char*指针,节省内存