The size limits for the files exported from Spark AR Studio to Spark AR Hub make sure your effects perform well across different devices.
There are different size limits depending on which platform you make your effect available on.
The .arfx file size for effects available on:
The .arexport file is the file that you upload to Spark AR Hub when you publish your effect and it contains the file that make your effect available on each platform. It must always be 40 MB or smaller regardless of the platform.
You'll need to check your effect’s file size across all 3 device types: iOS, Android and Older Android.
To do this, open your effect in Spark AR Studio and click the Publish icon in the toolbar:
The Publish your effect window will open and you'll see:
Under File Size, if you see the message File sizes meet requirements, your effect is the correct size for all device types and you can upload it to Spark AR Hub.
If you see a cross next to the platform you want to make your effect available on, you’ll need to make the file size smaller. There are lots of ways to reduce the file size, from removing unused assets to optimizing objects in your scene.
Removing unused assets
To find and remove unused assets, click View Asset Summary and then the Review Unused Asset button. Learn more about the Asset Summary.
The .arexport file is the file that you upload to Spark AR Hub when you publish your effect. It must be 40 MB or smaller.
You can check the .arexport file size before uploading it in Spark AR Hub by exporting it to your computer first. Another way to check the file size is by trying to preview your effect in Spark AR Player. If it’s above 40 MB, you won’t be able to test it.
The .arexport file contains:
Find out more about: