article thumbnail

Debugging Complications

Ask a Game Dev

Sometimes a bug is easy to catch. Sometimes a bug is difficult to reproduce. Here are some of the qualities that can make a bug difficult to nail down: [ Build-specific ] - The bug only shows up in release or final builds. Platform-specific - The bug only shows up on a particular platform (e.g.

Debug 40
article thumbnail

Change node color (bug?) - ???

Cocos

For debugging, I set node color default to (170,170,170) then using script it will increase to 255 in “duration”. I’m using Cocos Creator 2.4.6, somehow I try to change the node color via script is not working. I remember it used to work. 我在使用Cocos Creator 版本 2.4.6 2D, 我想要透过typescript更改node的颜色但是不能,我记得好像以前是没问题的。

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

Change node color (bug?) - ???

Cocos

For debugging, I set node color default to (170,170,170) then using script it will increase to 255 in “duration”. I’m using Cocos Creator 2.4.6, somehow I try to change the node color via script is not working. I remember it used to work. 我在使用Cocos Creator 版本 2.4.6 2D, 我想要透过typescript更改node的颜色但是不能,我记得好像以前是没问题的。

Bug 52
article thumbnail

How to check TS bug like this in android build

Cocos

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. On the Build Panel, try the following steps.

Build 52
article thumbnail

Bug: Simulator not rendering ttf font

Cocos

You can debug the following code to see if there are any exceptions. The same didn’t work on Mac. Issues happen with CC 3.7.2 This situation may be caused by the failure of font loading, you can see if there is an output error message?

Render 52
article thumbnail

Error 3817 corrupted component

Cocos

Despite efforts to pinpoint the exact cause, debugging has been challenging. Are there any known instances of this bug occurring due to specific reasons in the past? @zzy Previously, the game functioned correctly. However, after introducing new scripts and components, the described issue emerged.

Debug 52
article thumbnail

Maybe a bug? Function.name

Cocos

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

Bug 40