Effect Size Limits

File Size Limits for Meta Spark Studio Effects

A screenshot from Meta Spark Studio. It shows a report on effect file sizes.

The size limits for the files exported from Meta Spark Studio to Meta Spark 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:

  • Instagram should be 4 MB or less on both iOS, Android and Older Android.
  • Facebook should be under 2 MB for the best reach, but they can be up to 10 MB.
  • Facebook Ads should be under 5 MB.

The .arexport file is the file that you upload to Meta Spark 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.

Checking file size

You'll need to check your effect’s file size across all 3 device types: iOS, Android and Older Android.

To do this:

  1. Open your effect in Meta Spark Studio.
  2. Click the Publish icon in the toolbar.

Assets panel with Publish icon highlighted

The Publish your effect window will open and you'll see:

  • Click on View File Sizes. This is the size of the .arfx file that contains everything a user needs to play your effect on their device.
  • A tick or cross in the Facebook and Instagram columns to indicate whether it’s the correct size for either platform.

Publish your effect window showing file size requirements

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 Meta Spark Hub.

If your file size is too big

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

The .arexport file is the file that you upload to Meta Spark Hub when you publish your effect. It must be 40 MB or smaller.

You can check the .arexport file size before uploading it in Meta Spark Hub by exporting it to your computer first. Another way to check the file size is by trying to preview your effect in Meta Spark Player. If it’s above 40 MB, you won’t be able to test it.

The .arexport file contains:

  • The three .arfx files that make sure your effect works across three device types.
  • The .arprojpkg file. This is the Meta Spark Studio project with all the assets you’ve added, zipped into a single file. The addition of this file means the .arexport file size is generally bigger than the combined total of each .arfx file version of the effect you’ll have seen when you exported your project.

Improving performance

Find out more about: