Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Unity Tiny - Facebook Playable Ads

Discussion in 'Project Tiny' started by Rangerz132, Mar 9, 2022.

  1. Rangerz132

    Rangerz132

    Joined:
    Feb 3, 2019
    Posts:
    34
    Hello world!

    With now more than 15 games made with Unity Tiny, I was thinking about making some Facebook playable ads to get some visibility.

    One of the main issue that I see from the start is the maximum size for the index.html file. Facebook restricts the index.html file to be lower than 2MB . When I build the Basic Tiny 3D Template with WASM with the Release configuration (instead of Debug and Develop) and with the Single Output HTML File, the build is already higher than 2MB (about 2.5MB).

    My question is, is it necessary to build with the Single Output HTML File option? If I'm not checking that box, the index.html size is a less.

    Thanks!
     
    korchun_srsly likes this.