Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Enter the 2020.2 Beta Sweepstakes for a chance to win an Oculus Quest 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:
    181
    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.
unityunity