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. Let us know your feedback about the Global Illumination changes in the 2023.2 beta.
    Dismiss Notice
  3. Dismiss Notice

Mono Upgrade Crash at import with Mono 4.6 preview

Discussion in 'Experimental Scripting Previews' started by Tuni, Sep 27, 2016.

  1. Tuni

    Tuni

    Joined:
    May 24, 2013
    Posts:
    74
    Hi,

    Unity crashes at the script import part with the mono 4.6 preview from today. I deleted the Library and Temp folder, nothing changed.

    Project is working fine with Unity 5.4.1f1 and p2. The project is a Windows VR game and released on Steam on august this year. It has 65k lines of code with editor scripts and we are working on the PS4 port which is nearly done.

    The code is written in C#. We don't use any features like reflection (IL2CPP build from 5.4.1 is working fine).

    Best

    Tim
     
  2. joncham

    joncham

    Unity Technologies

    Joined:
    Dec 1, 2011
    Posts:
    276
    Can you file a bug with the project? At the very least can you post an Editor.log file with info on the crash?

    Thanks,
    Jonathan
     
  3. Tuni

    Tuni

    Joined:
    May 24, 2013
    Posts:
    74
    The project is 9.5 gb big. This is to much for my internet connection right now. I can file a bug report tomorrow from the office.

    Where can I find the crash log of the editor?
     
  4. joncham

    joncham

    Unity Technologies

    Joined:
    Dec 1, 2011
    Posts:
    276
    See here for details on log file locations: https://docs.unity3d.com/Manual/LogFiles.html
     
  5. Tuni

    Tuni

    Joined:
    May 24, 2013
    Posts:
    74
    Last part of the crash log.

    Unity is crashing at the script update process (a few seconds after the popup with the "Go ahead I made a backup" button closed) at a script of the plugin InControl. This is the code (line 54 - 58):

    Code (CSharp):
    1. if (!line.All( char.IsWhiteSpace ))
    2.                 {
    3.                     stringBuilder.Append( '\t', indent );
    4.                     stringBuilder.Append( line );
    5.                 }
    Edit: Removed the 4 lines of code. Still crashing with a similar crash log (CrashLog2).
     

    Attached Files:

    Last edited: Sep 27, 2016