- Home /
UnityEngine.Object:op_Inequality(Object, Object)
I am doing alot with inheritance, and Unity has begun to spit out to me this error.
UnityEngine.Object:CompareBaseObjects(Object, Object) UnityEngine.Object:op_Inequality(Object, Object) MockupPage:Finalize() (at Assets/Scripts/MockupPage.cs:144)
I have been implementing my own Finalize functions, does this have something to do with that? Is there something I should be aware of when doing that?
At one point Unity just spit out the error 'Impossible'. Ya, no joke. I suspect it's related to the above error.
Getting the same errors. Did you find the reason, by any chance?
It partly has something to do with implementing your own Finalize function on IDisposable objects. For every IDisposable class I had, that I forgot to Dispose, and the garbage collector was picking up and calling Finalize on, it would give that error.
I think more scenarios than that will give this error, but thats one.
Your answer
Follow this Question
Related Questions
Passing arguments to base constructor fails 1 Answer
An OS design issue: File types associated with their appropriate programs 1 Answer
How do I fix my Unity and my .Net framework? 0 Answers
System.Threading.Tasks 1' does not exist in the namespace 'System.Threading.Tasks' 1 Answer
How can I run my scene again? 0 Answers