Table of Contents

Migrate Unity applications to EasyAR Sense Unity Plugin 4000

This article introduces how to migrate a Unity application from an older version of EasyAR Sense Unity Plugin to version 4000.

Before you begin

Depending on the version of EasyAR Sense Unity Plugin currently used by your project, you need to delete files and replace the plugin package before migrating to version 4000.

Note

4.7 was open only to limited Mega developers and had many subversions. Specific interface changes need to be determined according to the specific version number.

The lifecycle of 4.7 has ended. Users of version 4.7 are advised to upgrade to 4000 as soon as possible.

Migrate to version 4000

After importing the EasyAR Unity Plugin 4000 plugin, because the feature changes are large, you also need to make the following modifications.

It is recommended to delete ARSession in the scene and then create it again.

Related changes:

  • Many interface and script changes.
  • Default parameters of some scene components have changed.
  • AR Foundation support has been rewritten.

To use sparse spatial maps, refer to the samples and API reference to adjust the code and objects in the scene.

Related changes:

  • The sparse spatial map interfaces have been split.

If the project has previously imported sample files, delete the old files completely before importing the new samples. If you have already modified the samples, back them up first.

Related changes:

  • All samples have been rewritten.

Adjust diagnostic feature options. Refer to Make full use of UI diagnostic information and tools to quickly understand the options that require attention. For detailed feature descriptions and usage, refer to Issue diagnosis and reporting in Unity development.

Related changes:

  • Diagnostic features have been adjusted and added.

To use XREAL features, refer to Enable headset support. When using XREAL, you no longer need to import a separate package.

Related changes:

  • XREAL support is built into EasyAR Sense.

To use AR Foundation, refer to Enable AR Foundation in EasyAR projects.

Related changes:

  • AR Foundation support has been rewritten.

Migration examples