Search Unity

Ahout the error for convert unityscript to csharp

Discussion in 'Scripting' started by powpowbing, Jul 2, 2019.

  1. powpowbing

    powpowbing

    Joined:
    Mar 15, 2017
    Posts:
    3
    Hi, everyone.

    Most of our projects were written in unityscript, while the rest were written in C#.Now we're going to convert unityscript code to C# code.

    I found the conversion tool that provided by unity official on the https://github.com/Unity-Technologies/unityscript2csharp, download the unitypackage, eventually imported into the project.
    Then select tools-> Convert project from UnityScript to C# to start conversion:
    screenshot1.png
    Select Convert(verbose logging) in the pop-up window:
    screenshot2.png
    After that, the progress bar starts showing the progress of the conversion:
    screenshot3.png
    But soon, the problem arose:
    screenshot4.png screenshot5.png


    I don't know why this problem occurred, and after several attempts at conversion, it failed, just with different Numbers in the error message.

    I hope someone can help me solve this problem.
    Thank you very much!

    Best wishes
    Boshi
     
    Last edited: Jul 2, 2019
  2. AdrianoVerona_Unity

    AdrianoVerona_Unity

    Unity Technologies

    Joined:
    Apr 11, 2013
    Posts:
    317