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?
What were you doing when it popped up?
Openend unity, I can clear the errors in the console and after they come back when I press play
A bug report would be helpful, if possible with a repro. This could be an instance of this issue: iOS NotImplementedException: The method or operation is not implemented.
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
NotImplementedException: The method or operation is not implemented.
System.Environment.FailFast (System.String message) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
<Module>***(System.String ) (at <32aed235d00f4133a7558638d6cab2f5>:0)
<Module>***(System.Object ) (at <32aed235d00f4133a7558638d6cab2f5>:0)
System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ThreadHelper.ThreadStart (System.Object obj) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
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)
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 )
Yes, our project was updated from 2017.4.6 Unity version. The exception is not reproduced in new projects
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:
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
NotImplementedException: The method or operation is not implemented.
System.Environment.FailFast (System.String message) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
<Module>.<U+202B><U+202D><U+202A><U+202A><U+202D><U+202E><U+202B><U+202C><U+202C><U+202A><U+202E><U+202C><U+202E><U+202E><U+202C><U+202A><U+202E><U+202E><U+202A><U+202E><U+202E> (System.String ) (at <9ddf73df998349b3bb919b38b7f23e17>:0)
<Module>.<U+202C><U+202D><U+202B><U+202D><U+202B><U+202A><U+202B><U+202C><U+202E><U+202E> (System.Object ) (at <9ddf73df998349b3bb919b38b7f23e17>:0)
System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ThreadHelper.ThreadStart (System.Object obj) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
UnityEngine.UnhandledExceptionHandler:<RegisterUECatcher>m__0(Object, UnhandledExceptionEventArgs)
Do you have any .dll’s ?
Yeah, It was a .dll after all! For me, I was using a plugging call “Only Renderer”. If you want me to provide you with more details about the .dll file send me a message. Good luck!
Got the same error for a project which contains an obfuscated dll with Unity 2018.3.0f1:
NotImplementedException: The method or operation is not implemented.
System.Environment.FailFast (System.String message) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
<Module>.<U+202B><U+202D><U+202E><U+202A><U+202E><U+202C><U+202D><U+202E> (System.String ) (at <0895a9bdb2fa4994b4ab471d1c31358c>:0)
<Module>.<U+202E><U+202A><U+202E><U+202B><U+202C><U+202B><U+202B><U+202E><U+202C><U+202E><U+202A><U+202E><U+202E> (System.Object ) (at <0895a9bdb2fa4994b4ab471d1c31358c>:0)
System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Threading.ThreadHelper.ThreadStart (System.Object obj) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
UnityEngine.UnhandledExceptionHandler:<RegisterUECatcher>m__0(Object, UnhandledExceptionEventArgs)
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.
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.
I was thinking about if I should do a feedback item, but since feedback is now dead
( https://discussions.unity.com/t/733107 )
I will just trust that this issue is now known, and that if anyone encounters this error they should report it in this forum.
Yes, sorry for the confusion. Since the feedback page is no longer available and this thread was originally about a different topic, I’d recommend that you start a new thread specifically about this feature request in a different forum though. Either External Tools or Scripting seem appropriate.
Found that System.Environment.FailFast
is not implemented in mono.
[SecurityPermission (SecurityAction.LinkDemand, UnmanagedCode=true)]
public static void FailFast (string message)
{
throw new NotImplementedException ();
}
And it should be implemented as an internal call like in CoreCLR:
// Note: The CLR's Watson bucketization code looks at the caller of the FCALL method
// to assign blame for crashes. Don't mess with this, such as by making it call
// another managed helper method, unless you consult with some CLR Watson experts.
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern void FailFast(string message);
Similar error here, how to fix that? Unity 2019.1.3f1
NotImplementedException: The method or operation is not implemented.
System.Environment.FailFast (System.String message) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
<Module>.j
*-k,*,+ll
km-.-m*+k,,j-*k.
jm. (System.String ) (at <e5fbef407f0641f994a976a46d5b082f>:0)
<Module>.*l,lmo+..l.jko+nn.n*k,-l.mnm. (System.Object ) (at <e5fbef407f0641f994a976a46d5b082f>:0)
System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.ThreadHelper.ThreadStart (System.Object obj) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
UnityEngine.UnhandledExceptionHandler:<RegisterUECatcher>m__0(Object, UnhandledExceptionEventArgs)
NotImplementedException: The method or operation is not implemented.
System.Environment.FailFast (System.String message) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
.
+
j,+l,nljno
o
+n-.lo,nmk
j±o.n
. (System.String ) (at <59e29b1ac58a4ef88a9b214947e25be9>:0)
.,+loo,+k-.ll,m*k.n-*m,+kl,.l. (System.Object ) (at <59e29b1ac58a4ef88a9b214947e25be9>:0)
System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Threading.ThreadHelper.ThreadStart (System.Object obj) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
UnityEngine.UnhandledExceptionHandler:m__0(Object, UnhandledExceptionEventArgs)
same error howt o resovle?
hi can u please help us with this how to resolve the issue