article thumbnail

How to check TS bug like this in android build

Cocos

@zhangxm I know this type of bug is caused by some kind of promise code error without a catch() function. This bug is from logcat on android btw. But which file / which line causes it ? How can i find it in my code. I have a lot of promise function so there is hard to check.

Bug 52
article thumbnail

How to check TS bug like this in android build

Cocos

@zhangxm I know this type of bug is caused by some kind of promise code error without a catch() function. This bug is from logcat on android btw. But which file / which line causes it ? How can i find it in my code. I have a lot of promise function so there is hard to check.

Bug 52
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

How to check TS bug like this in android build

Cocos

On the Build Panel, try the following steps. enable the Debug option disable the Encrypt JS option build debug in Android Studio then you can address the specific line when the JS code causes errors.

Build 52
article thumbnail

How Splitting Point caught 80% more bugs with real-time data

Game Analytics

Catching 80% of their bugs. One of the main reasons that Splitting Point integrated GameAnalytics was because of our bug-tracking capabilities through our error reporting dashboard. Soon, Splitting Point realized that they could find more than just bugs. Building out difficulty using data. Dive into your own games.

Data 97
article thumbnail

Physics X bug with trigger event?

Cocos

I am using the Physics X as physics backend to build for native android and IOS, and i found out that if both rigidbodies with trigger collider attached, they wont generate trigger events like this document provide here. (it it works for bullet physics) [link] One collider must be non trigger for this to work.

Bug 52
article thumbnail

Collider/Trigger event problem in Windows/Android Build

Cocos

github.com/cocos/cocos-engine Collider/Trigger event problem in Windows/Android Build opened 03:12AM - 10 Oct 23 UTC zhefengzhang Bug Needs Triage ### Cocos Creator version 3.8.0 ### System information Windwos 10 ### Issue … description [link] ### Relevant error log output - ### Steps to reproduce Downloading the demo and running it in a web browser (..)

Build 52
article thumbnail

Maybe a bug? Function.name

Cocos

When building my cocos creator 3.8 editor/browser/simulator) but stop working when building it. build) In the build settings “Erase module structure” is selected. project to web the.name variable of function returns wrong answer. (“t”/“e” t”/“e” instead of the real function name). It works ok when debugging. Any ideas?

Bug 40