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. Dismiss Notice

Error: Trap! Thrown by Clean Build of Tiny3D Sample Project 0.23

Discussion in 'Project Tiny' started by drhodor, Apr 13, 2020.

  1. drhodor

    drhodor

    Joined:
    Aug 18, 2013
    Posts:
    39
    I just downloaded from this link:
    https://github.com/Unity-Technologies/ProjectTinySamples/tree/master/TinyRacing

    Open the Tiny3D Project
    Click the WASM Build configuration + Build
    Open in firefox
    And then get this error:

    [libil2cpp] A managed exception was thrown. The Tiny runtime does not support managed exceptions.
    [libil2cpp] The exception message is: ToString is not implemented on System.Object for the Tiny profile. Please override ToString in the derived class if it is required.
     

    Attached Files:

  2. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    It seems the runtime can't find the scene data files.
    Make sure the ftp client (Filezilla) uses "binary" transfer type for Data/* binary files and not making them as text files.
     
    drhodor likes this.
  3. drhodor

    drhodor

    Joined:
    Aug 18, 2013
    Posts:
    39
    Thank you so much @AbdulAlgharbi -- confirming that that is indeed the fix.

    So magical to get things running in the browser!!
     
    AbdulAlgharbi likes this.