v3.5 Built Project Upgrade Guide to v3.6

    Open the old version of the project with the new version of the engine, and then build the target platform after the upgrade is completed. To avoid upgrade failure, please backup the project first, and then follow the steps below to upgrade.

    • Delete file: jni/main.cpp

    Compile changes

    To reduce the package size, the default value of CMAKE_C_FLAGS_RELEASE and CMAKE_CXX_FLAGS_RELEASE compiler parameter visibility has been changed from to hidden. For this change, if the interface is not found in the release version of jni, please check if the interface has the declaration JNIEXPORT added. For example.

    • Old Code

    • Projects with custom jsb interfaces: code related to must be removed

    Since the implementation of Native engines differs slightly from that of non-Native engines, developers must be aware of these differences, which are organized as follows.

    • Readonly: On Native platforms, properties are fetched as newly created objects in order to reduce memory usage.

      The description of Readonly can be found in Development Notes - ReaOnly