Commit Graph

5896 Commits

Author SHA1 Message Date
James Chen 6716fc8563 [native] Fix script errors if Material.getProperty returns null (#13665) 2022-12-06 10:15:57 +08:00
James Chen 72fcf7797b [native] Fix missing PipelineRuntime::macros property and fix wrong key in ShadowFlow.cpp (#13660) 2022-12-06 09:14:56 +08:00
江战 046a2b1378 Re-impl CC_ASSERT & CC_ASSERTF (#13588) 2022-12-05 17:12:30 +08:00
Cocos Robot b3cf629946 [ci skip][AUTO]: Automated code generating update: 3a71f4278eac2cdaf08b03861ff89dc2df9422b8 (#13655) (#13657)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-12-05 16:23:33 +08:00
zxx43 a485712874 fix particle 2d native crash (#13655) 2022-12-05 15:52:04 +08:00
James Chen c89c532b6d [native] Fix some decorators are missing. (#13651)
* [native] Fix some decorators are missing.
2022-12-05 15:46:42 +08:00
李吉林 f2d3411c71 fix visibility of profiler in editor (#13654) 2022-12-05 15:42:50 +08:00
minggo 0c1786415f check mesh data (#13646) 2022-12-05 14:24:53 +08:00
bofeng-song 317a30d85b disable unused code (#13591)
* disable unused code
2022-12-05 11:56:52 +08:00
李吉林 13d49b1a9b fix mesh merge error (#13639)
* fix mesh merge error

* add log.h for android

* fix DebugRenderer update on metal
2022-12-05 10:18:22 +08:00
James Chen eaa9142b72 Fix missing default values for properties of native classes. (#13642)
* Fix missing default values for properties of native classes.

* Revert setDefaultValue in property.ts , should not return when JSB is enabled.

* Use SetAccessorProperty instead of SetAccessor to bind JS getter & setter.

https://stackoverflow.com/questions/57686545/setaccessor-and-setaccessorproperty-any-difference

* [JSB] Add 'name' property for Node prototype.

* Check whether Root is null in Scene's constructor since editor may new a scene object before Root is created.
2022-12-05 10:08:55 +08:00
Cocos Robot e81fda4ab0 [ci skip][AUTO]: Automated code generating update: 56356efddcabbee58771ca2eabd152d224e10e20 (#13617) (#13637)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-12-02 18:39:25 +08:00
江战 c0fb0bba84 Bugfix: ensure reentryability for Node::setWorld* functions (#13617) 2022-12-02 18:34:29 +08:00
troublemaker52025 8d1ed0e1d5 [Optimize] csm transition code (#13611) 2022-12-02 17:09:26 +08:00
oahc09 bd8b91ce4a fix:in xr remote preview when get device's manufacturer and model name it's length may be beyond 32. (#13601) 2022-12-02 14:42:40 +08:00
江战 e2cd70e5d4 Bugfix: call debug::errorID with uint data type (#13626)
* debug::errorID should accept uint as format argument

* fix lint errors
2022-12-02 12:02:28 +08:00
Yiwen 11b9a319c9 fix scene culling crash while bounding box is lost (#13606) 2022-12-02 10:23:06 +08:00
Cocos Robot dff52ce66f [ci skip][AUTO]: Automated code generating update: a0c58fd8a3180fafd10be63b261f0d6e4c1bb98f (#13580) (#13608)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-12-01 10:19:16 +08:00
hyde zhou 9f145fffb7 [pipeline] update custom pipeline (#13580) 2022-12-01 10:13:02 +08:00
李吉林 ec651d055c use camera's visibility to render profiler (#13589) 2022-11-29 17:49:56 +08:00
徐兵 68a89458ff optimize planar reflection culling (#13576) 2022-11-29 17:05:21 +08:00
李吉林 0f59c48817 modify GIScale range (#13584) 2022-11-29 15:25:16 +08:00
bofeng-song c0d989abab fix LOD's error while using at native scene (#13579) 2022-11-28 18:22:33 +08:00
mmyduckx 854dd6859a set default HTTP protocol to HTTP 1.1 (#13578)
* set downloader default HTTP protocol to HTTP 1.1
2022-11-28 15:21:31 +08:00
江战 b45a1e52e6 generate cocos-version.h (#13547) 2022-11-28 11:31:05 +08:00
江战 0f3871b9af add v8 flag --no-turbo-escape (#13562) 2022-11-28 11:29:37 +08:00
mmyduckx 50d70bcf9e fix videoPlayer display incorrectly in specific devices (#13563) 2022-11-28 11:27:04 +08:00
江战 8a70873697 reduce build warning logs (#13574) 2022-11-28 11:26:28 +08:00
mmyduckx 4399b71d9a fix webview display incorrectly in specific devices & refactory setFrame (#13570) 2022-11-28 11:25:20 +08:00
江战 9808aa1dba apply sequence id for log-remote (#13564) 2022-11-28 11:21:57 +08:00
江战 85f73eb8c2 Remove some dead code for JSB (#13556) 2022-11-28 11:20:22 +08:00
pandamicro 2486810ded Fix issue that FLOAT4 uniform validator doesn't accept quaternion (#13551) 2022-11-24 21:47:19 +08:00
Cocos Robot 01a00514f0 [ci skip][AUTO]: Automated code generating update: 61e9b35b5be3036d9f8d1264997017a07073aa2b (#13420) (#13537)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-11-24 13:40:16 +08:00
fqamic d4055f7e32 new basic capabilities of supporting handset ar and webxr (#13420)
* feat: add the basic capability of handset ar native

* feat: add handset input device, for ar camera pose

* feat: native pack tool supports xr platform name

* feat: web gl context supports webxr

* feat: webxr has been converted to screen coordinates via camera

* fix: pr ts-expect-error undefined xr

* feat: support webxr, and remove ar redundant code

* fix:xr-spaces gradlew permission error

* feat: revert redundant ar engine feature

* fix: eslint check error

* feat: remove redundant code

* fix: eslint check warning

* adjust armodule process in forward stage, mtl texture and jsb

* fix: exlint warning, and add license

* adjust ar lib and interfaces

* change webxr check interface

* merge external arlib header and move it to engine

* improve: update native external version

* move ar background stage to xr/rendering and move its init to webxr device in xr plugin

* fix format error

* fix format error

* adjust jsb_ar_manual, ARModule, ARBackground

* adjust arbackground

Co-authored-by: Parryzhai <1306895355@qq.com>
Co-authored-by: MoHai <1192652394@qq.com>
2022-11-24 13:33:50 +08:00
hyde zhou 32d642459f skip descriptors, uniform jsb error (#13529) 2022-11-24 10:41:04 +08:00
听榆大叔 e1c86d668b Fix composed character on multiline EditBox (#11263)
Co-authored-by: pandamicro <lphuabin@gmail.com>
2022-11-24 09:46:16 +08:00
Cocos Robot 12f77bea3f [ci skip][AUTO]: Automated code generating update: f99812bf42bbf3a17f88973600735c888227a455 (#13490) (#13523)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-11-23 19:09:47 +08:00
hyde zhou 6b1185c597 [develop] before upgrade effect-asset (#13490) 2022-11-23 19:02:59 +08:00
minggo 48dcfd76c2 Merge pull request #13519 from minggo/merge_v3.6.3
Merge v3.6.3
2022-11-23 18:25:39 +08:00
yangchao 81424d9d8c update external config (#13515)
* update external config
2022-11-23 18:13:10 +08:00
minggo 5b88e5121d Merge branch 'v3.6.3' into merge_v3.6.3 2022-11-23 16:19:25 +08:00
Cocos Robot 6e63a07d09 [ci skip][AUTO]: Automated code generating update: 0d2b971d3b5a6b2f7f632f7ae2fa9f4004324ac1 (#13462) (#13513)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-11-23 15:35:49 +08:00
timlyeee cb51f8d569 Dev simulator (#13469)
* Fix simulator start error
2022-11-23 15:28:59 +08:00
pandamicro 08c7fe3956 Add pre type validator for setUniform (#13462) 2022-11-23 15:26:16 +08:00
zhakesi af81f8b553 fix beginSchedule when spine component with no onEnable called. (#13279)
* fix beginSchedule when spine component with no onEnable called.

* fix dragonbones beginSchedule
2022-11-23 13:36:36 +08:00
Cocos Robot e45115a2ec [ci skip][AUTO]: Automated code generating update: 8ab5640949b7e2062b3e9dbd5184a7eff610af97 (#13491) (#13498)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-11-23 10:13:34 +08:00
hyde zhou baea1cb09c [develop] fix fxaa (#13491) 2022-11-23 10:03:13 +08:00
Cocos Robot 56fedffbac [ci skip][AUTO]: Automated code generating update: 669ea6e6159ce7ae52738cfceec395d4ac2f20b5 (#13483) (#13496)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-11-23 09:42:52 +08:00
徐兵 0605e99098 reflection probe support instancing for native engine (#13483) 2022-11-23 00:16:05 +08:00
Cocos Robot dac156ad86 [ci skip][AUTO]: Automated code generating update: ef412a5da5b4f61f9645accb33ae8ba711dc3a68 (#13144) (#13492)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-11-22 23:16:45 +08:00