Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Visual "Exception User-Unhandled" on Unity 2022.1.17f1
#2
(07-11-2022, 03:36 PM)bagelbaker Wrote: 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
  at (wrapper managed-to-native) Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckDeallocateAndThrow_Injected(Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle&)
  at Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckDeallocateAndThrow (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle) [0x00000] in <790a43858b4b404fbe02a2b7b4a0d9d6>:0
  at Obi.ObiNativeList`1[T].Dispose (System.Boolean disposing) [0x0003d] in H:\MyUser\Dev\Unity\MyProject-01-unity2022\Assets\Obi\Scripts\Common\DataStructures\NativeList\ObiNativeList.cs:110
  at Obi.ObiNativeList`1[T].Finalize () [0x00002] in H:\MyUser\Dev\Unity\MyProject-climb-01-unity2022\Assets\Obi\Scripts\Common\DataStructures\NativeList\ObiNativeList.cs:90
 

Any workaround around this?
Thanks

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 Sonrisa

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
Reply


Messages In This Thread
RE: Visual "Exception User-Unhandled" on Unity 2022.1.17f1 - by josemendez - 08-11-2022, 03:53 PM