Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

NotImplementedException Using 2019.1a11

Discussion in '2019.1 Beta' started by Lars-Steenhoff, Dec 8, 2018.

  1. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    1,903
    I get an error that I don't know of what it means. Using 2019.1a11.
    Do I need to file a bug report for this?

     
  2. APSchmidt

    APSchmidt

    Joined:
    Aug 8, 2016
    Posts:
    1,295
    What were you doing when it popped up?
     
  3. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    1,903
    Openend unity, I can clear the errors in the console and after they come back when I press play
     
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,219
  5. DmitryAndreevMel

    DmitryAndreevMel

    Joined:
    Mar 7, 2017
    Posts:
    12
    We encounter the same error (written twice in the console) in our project (Unity 2018.3.1f) every time Unity compiles code or enters play mode

    Code (CSharp):
    1. NotImplementedException: The method or operation is not implemented.
    2. System.Environment.FailFast (System.String message) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    3. <Module>***(System.String ) (at <32aed235d00f4133a7558638d6cab2f5>:0)
    4. <Module>***(System.Object ) (at <32aed235d00f4133a7558638d6cab2f5>:0)
    5. System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    6. System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    7. System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    8. System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    9. System.Threading.ThreadHelper.ThreadStart (System.Object obj) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    10. UnityEngine.UnhandledExceptionHandler:<RegisterUECatcher>m__0(Object, UnhandledExceptionEventArgs)
    there are strange symbols in the log, they were replaced by *** in the log I've posted because this forum struggles to display them and the following text becomes reversed (in most of the apps)
     
    Last edited: Jan 17, 2019
  6. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    1,903
    Did you upgrade a project from an earlier unity vension ?

    It seems that is where it happens for me, and since this project is so large I can't send a bug report for it ( more than 10 gb )
     
  7. DmitryAndreevMel

    DmitryAndreevMel

    Joined:
    Mar 7, 2017
    Posts:
    12
    Yes, our project was updated from 2017.4.6 Unity version. The exception is not reproduced in new projects
     
  8. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    1,903
    Case 1118695

    It seemed to have something to do with an .dll of an asset store package in my project, and since the error came after upgrading it is most likely because of an api change in unity.

    Would it not be possible for unity to show what dll is generating the error?

    I got this answer from Unity QA:

     
    Last edited: Jan 28, 2019
  9. faolad

    faolad

    Joined:
    Jan 27, 2013
    Posts:
    3
    I keep getting similar errors, After changing the script Runtime Version from (.NET 3.5) to (.NET 4x Equivalent) It start showing this error in the editor and in play mode

    Code (CSharp):
    1.  NotImplementedException: The method or operation is not implemented.
    2. System.Environment.FailFast (System.String message) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    3. <Module>.‫‭‪‪‭‮‍‏‫‬‎‬‌‪‏‮‍‬‍‮‮‌‬‪‮‮‪‮‮ (System.String ) (at <9ddf73df998349b3bb919b38b7f23e17>:0)
    4. <Module>.‏‏‎‎‬‭‫‏‌‭‫‪‎‏‫‬‮‏‎‍‮ (System.Object ) (at <9ddf73df998349b3bb919b38b7f23e17>:0)
    5. System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    6. System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    7. System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    8. System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    9. System.Threading.ThreadHelper.ThreadStart (System.Object obj) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    10. UnityEngine.UnhandledExceptionHandler:<RegisterUECatcher>m__0(Object, UnhandledExceptionEventArgs)
    11.  
     
  10. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    1,903
    Do you have any .dll's ?
     
  11. faolad

    faolad

    Joined:
    Jan 27, 2013
    Posts:
    3
    Last edited: Feb 4, 2019
  12. zwcloud

    zwcloud

    Joined:
    Mar 15, 2016
    Posts:
    254
    Got the same error for a project which contains an obfuscated dll with Unity 2018.3.0f1:

    upload_2019-2-15_23-9-12.png

    Code (csharp):
    1. NotImplementedException: The method or operation is not implemented.
    2. System.Environment.FailFast (System.String message) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    3. <Module>.‏‫‍‎‭‮‪‮‬‍‏‌‍‍‎‭‮ (System.String ) (at <0895a9bdb2fa4994b4ab471d1c31358c>:0)
    4. <Module>.‮‪‍‮‫‍‬‫‏‫‮‌‬‏‮‪‍‏‮‍‎‮ (System.Object ) (at <0895a9bdb2fa4994b4ab471d1c31358c>:0)
    5. System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    6. System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    7. System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    8. System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    9. System.Threading.ThreadHelper.ThreadStart (System.Object obj) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    10. UnityEngine.UnhandledExceptionHandler:<RegisterUECatcher>m__0(Object, UnhandledExceptionEventArgs)
     
  13. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    1,903
    Yes its very cryptic, and any newcomers to unity will pull their hairs out why this is happening, I hope unity will implement a way to see the source file that generated the error.
     
  14. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,219
    Could you please submit a feature request at https://feedback.unity3d.com/ (and vote for it)?
    I've talked with the team and they currently don't have the bandwidth to implement support for this functionality, since that would be a non-trivial endeavour and there are other tasks with a higher priority. If more users express their interest in this, prioritisation might change though.
     
    eizenhorn and Lars-Steenhoff like this.