CC_PREVIEW is true in Build mode (2.2.0 and 2.2.1)

im using 2.2.0 right now but i noticed that CC_PREVIEW is true in the build version of the game. even with debug and source map unchecked. tried using 2.2.1 and the issue is still reproducable. Im building for web-mobile games

We can ask @jare to help with this.

In my test, version 2.2.1 not have this bug, Do you build platform is webMobile?

yes we built for webMobile. the bug is caused by this line

i think its already fixed in the master branch of the engine

Thank you,I have confirmed the problem.

1 Like

This is fixed PR:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.