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

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
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

Maybe a bug? Function.name

Cocos

When building my cocos creator 3.8 It works ok when debugging. 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).

Bug 40
article thumbnail

Maybe a bug? Function.name

Cocos

When building my cocos creator 3.8 It works ok when debugging. 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).

Bug 40
article thumbnail

Bug: Simulator not rendering ttf font

Cocos

The font is appearing correctly on web builds and Android build, but when using the simulator the font is rendered as a system font. You can debug the following code to see if there are any exceptions. The issue is fixed by recompiling the engine on Windows. The same didn’t work on Mac. Issues happen with CC 3.7.2

Render 52
article thumbnail

Maybe a bug? Function.name

Cocos

When building my cocos creator 3.8 It works ok when debugging. 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).

Bug 40
article thumbnail

[Error, Bug] when running the game on iOS simulator

Cocos

I have no problem for building and making the app, but when I start the app on the simulator it will crash. Also, here is the error I’ve gotten: 8-5-2023 12:38:50-debug: // - build task native:make - (220380ms) 8-5-2023 12:38:50-log: [task:make]: native:(make) in 220380 ms ✓, 23.333333333333332% 8-5-2023 12:38:50-log: [task:make]: success!