![]() |
Bug / Crash Visual "Exception User-Unhandled" on Unity 2022.1.17f1 - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: General (https://obi.virtualmethodstudio.com/forum/forum-5.html) +--- Thread: Bug / Crash Visual "Exception User-Unhandled" on Unity 2022.1.17f1 (/thread-3635.html) |
Visual "Exception User-Unhandled" on Unity 2022.1.17f1 - bagelbaker - 07-11-2022 Hello, We are currently in the process of upgrading our project from Unity 2020.3.26f1 to Unity 2022.1.17f1, using Obi 6.4 When we attach Visual to Unity Editor, we get these "Exception User-Unhandled" multiples times (20-30x) when we hit Play / Unplay / open a scene in the Editor. Code: System.ObjectDisposedException: The UNKNOWN_OBJECT_TYPE has been deallocated, it is not allowed to access it Any workaround around this? Thanks RE: Visual "Exception User-Unhandled" on Unity 2022.1.17f1 - josemendez - 08-11-2022 (07-11-2022, 03:36 PM)bagelbaker Wrote: Hello, Hi there, I've been unable to reproduce this so far, it's also weird that it happens only when attaching Visual Studio. If you could provide exact steps to reproduce it, it would be very useful ![]() These checks are only performed when safety checks are enabled in the Jobs->Burst menu, disabling them should get rid of the exceptions. let me know if I can help in any way, kind regards RE: Visual "Exception User-Unhandled" on Unity 2022.1.17f1 - bagelbaker - 08-11-2022 Hello, Just to be clear, the exception occurs in Visual and nothing is logged in Unity. https://www.dropbox.com/s/s7b29dk8zbrj3hm/obi-visual-exception.png?dl=0 I just managed to reproduce it in a simple project with Obi 4.6 imported.
Oh and disabling safety checks doesn't get rid of the issue. Cheers RE: Visual "Exception User-Unhandled" on Unity 2022.1.17f1 - josemendez - 11-11-2022 (08-11-2022, 08:24 PM)bagelbaker Wrote: Hello, Hi, Thanks for the details! I was able to reproduce this, I can't identify any issues in Obi's code that would lead to this behavior. It seems like a bug in either VS or Unity. I'll be trying to create a minimal reproducible example and raise a bug report with Unity, will keep you informed. kind regards, RE: Visual "Exception User-Unhandled" on Unity 2022.1.17f1 - bagelbaker - 17-11-2022 There's a workaround for this issue, which is to follow this answer https://stackoverflow.com/a/60083330 For us, the "Break when this exception type..." option doesn't appear so we had to do it like this:
|