Commit Graph

6751 Commits

Author SHA1 Message Date
bofeng-song 60d2f89529 Fix spine setSlotTexture can not work normally (#18651) 2025-04-24 11:16:54 +08:00
hyde zhou 8a4774f4f3 Add global uniform (#18603) 2025-04-24 09:50:39 +08:00
Cocos Robot fbd13d3777 [ci skip][AUTO]: Automated code generating update: 8e28bb2f5ff14f9dad44fa9a4d3d16850b760829 (#18643) (#18649)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-04-22 14:49:59 +08:00
James Chen afef795931 Add Sorting2D support. (#18643) 2025-04-22 14:28:55 +08:00
hyde zhou 9761623100 fix float compare (#18634) 2025-04-21 10:57:17 +08:00
James Chen ac936709b1 Fix most UIOpacity issues on native platforms, optimize the logic of synchronizing localOpacity to native. (#18614) 2025-04-20 15:49:44 +08:00
bofeng-song 50f14a091c Fix rendering anomaly in Spine caused by incorrect rotation usage. (#18636) 2025-04-18 19:55:26 +08:00
zhefeng.zhang 56fcaea788 Fixed an error when using compress texture for 3D particle (#18630) 2025-04-18 13:44:24 +08:00
bofeng-song a6c5ce0096 Resolve potential OOM (Out-Of-Memory) issues in the Spine module. (#18610) 2025-04-17 20:09:30 +08:00
James Chen 7c80deb22c Fix b2ChainShape::m_vertices, b2PolygonShape::m_vertices/m_normals were not bound for Box2D-JSB. (#18612) 2025-04-15 12:42:22 +08:00
hyde zhou 0348b0cb3c revert maxKnownFeatureSet on iOS 12.0 (#18617) 2025-04-15 11:26:49 +08:00
bofeng-song 1227c761f2 Fix the crash issue on the Android platform caused by the getViewSize call. (#18492) 2025-04-14 14:53:31 +08:00
James Chen e723672328 Fix a potential crash issue while hide and show window frequently on HarmonyOS-Next platform. (#18592) 2025-04-14 10:03:00 +08:00
tangkai 9ab2e90f23 Fix a bug that spine asset exported to jpeg format causes crash on native platforms. (#18581) 2025-04-09 16:43:14 +08:00
bofeng-song a9c82270ee Fix a potential crash after destroying a node with Spine Skeleton Component in schedule update on native platforms. (#18567) 2025-04-09 14:59:51 +08:00
James Chen 155a7bfa4d Fix Box2D JSB normalImpulses/tangentImpulses properties were not bound. (#18546) 2025-04-07 10:04:48 +08:00
James Chen 7b70780d9d Update bullet wasm, bind CollisionShape_getLocalBoundingSphere (#18547) 2025-04-07 10:04:05 +08:00
James Chen 8c1867a094 Fix xcode 16.3 compilation errors (#18553) 2025-04-02 22:00:17 +08:00
James Chen a4d8d86cf9 Support to build simulator with spine 3.8 or 4.2 and don't pack unused files ( *.lib, *.exp, *.a ). (#18545) 2025-04-01 17:09:45 +08:00
hyde zhou 2466eea44b V3.8.7 add global uniform interface (#18540) 2025-04-01 16:20:33 +08:00
bofeng-song e60ceb95b3 Fix spine's trackCompleteListener can not be triggered multiple times (#18521) 2025-04-01 10:27:13 +08:00
James Chen 349d839978 Merge pull request #18531 from cocos/v3.8.6
Merge v3.8.6 to v3.8.7
2025-03-28 17:50:09 +08:00
qiuguohua 6f7734c940 Fix unreleased strong references in Ark JS engine backend for HarmonyOS Next platform (#18530) 2025-03-28 17:46:30 +08:00
GengineJS 803fa4b548 gpu instancing sort (#18520) 2025-03-28 16:41:44 +08:00
qiuguohua e0ee77e027 Fix a memory leak in the ark engine backend for HarmonyOS-next (#18526) 2025-03-28 10:50:04 +08:00
bofeng-song 9e7a967486 Bind more properties for Spine 4.2 wasm/asmjs (#18514) 2025-03-27 18:55:51 +08:00
bofeng-song 1a901cbb21 Add README for generating spine wasm/asmjs files. (#18516) 2025-03-27 18:14:15 +08:00
bofeng-song 0830996ad2 Sync spine 3.8 runtime code from the spine official repo. (#18513) 2025-03-27 18:12:10 +08:00
bofeng-song d84d668450 Fix spine crash when exiting game. (#18506)
It's a bug after merging https://github.com/cocos/cocos-engine/pull/18467
2025-03-24 18:20:34 +08:00
James Chen 942398a545 Merge pull request #18502 from cocos/v3.8.6
Merge v3.8.6 to v3.8.7
2025-03-24 15:58:27 +08:00
James Chen 83b77037d7 Fix initializing wrong JS array size for CharacterControllerContact & ContactPoint in physx binding on native platforms (#18497) 2025-03-24 10:26:37 +08:00
James Chen 6114a567ab Fix CanvasRenderingContext leaks which caused by circular dependencies on JSVM backend. (#18493) 2025-03-23 21:45:06 +08:00
James Chen 4b5e4df474 Fix 'Object::createTypedArrayWithBuffer' for JSVM. (#18487) 2025-03-21 09:27:12 +08:00
James Chen 327617ded4 Fix memory leaks of old render pipeline on native platforms. (#18470)
ForwardPipeline::initialize may be invoked twice.

```cpp
using RenderFlowList = ccstd::vector<IntrusivePtr<RenderFlow>>;
RenderFlowList _flows;

bool RenderPipeline::initialize(const RenderPipelineInfo &info) {
    _flows = info.flows; // initialize will be invoked twice, this assignment will trigger old RenderFlow::~RenderFlow but without calling `destroy` to release memory.
    _tag = info.tag;
    return true;
}
```
2025-03-18 15:13:44 +08:00
qiuguohua cc47fce6bc HarmonyOS Next implements game.end interface (#18473) 2025-03-17 19:39:50 +08:00
GJ d0fd640f93 Fix renderDrawInfo is not cleared in 'onDisable' callback on native platforms (#18467) 2025-03-17 16:47:19 +08:00
James Chen 832f7ad6ee Simulator needs to be built with physics-2d-box2d-jsb feature (#18469) 2025-03-17 15:02:53 +08:00
bofeng-song 622d2c4763 Resolve compilation warnings for skeletonDataMgr in the Spine module (#18464) 2025-03-14 12:38:37 +08:00
James Chen e3cbe9ff63 Merge pull request #18465 from cocos/v3.8.6
Merge v3.8.6 branch to v3.8.7
2025-03-14 12:34:17 +08:00
qiuguohua 623b49c066 Fix duplicate add achievement issue (#18462) 2025-03-14 09:42:11 +08:00
qiuguohua b22e62dc52 Fix the issue where Google Play crashes randomly (#18460)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-03-13 22:51:59 +08:00
qiuguohua 84e22abab8 Fix the crash caused when getResult throws an exception. (#18459)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-03-13 22:09:40 +08:00
qiuguohua 949705bdcc Support Google Play Achievement (#18456) 2025-03-13 22:08:31 +08:00
bofeng-song 7e753818d5 Only print warning if spine assets aren't compatible with spine runtime (#18452) 2025-03-13 12:55:15 +08:00
James Chen 15f7112f62 Fix box2d jsb windows link errors (#18442) 2025-03-11 18:45:39 +08:00
James Chen df14403ac5 Update external-config to v3.8.6-11 (#18435) 2025-03-10 23:56:34 +08:00
qiuguohua 1527988573 Task callbacks run on non-main threads (#18432)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-03-10 15:19:44 +08:00
dependabot[bot] d1bd3d519a Bump axios from 0.21.2 to 1.8.2 in /native/tools/gles-wrangler-generator (#18430)
Bumps [axios](https://github.com/axios/axios) from 0.21.2 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.2...v1.8.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 10:21:40 +08:00
James Chen 15a487cedc Fix memory leak for spine::Vector::setSize (#18431) 2025-03-10 09:47:06 +08:00
qiuguohua f80ca2cceb Implementation of google play auto login, achievements, PGS Recall API (#18416) 2025-03-09 23:34:12 +08:00