Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Visual "Exception User-Unhandled" on Unity 2022.1.17f1
#1
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
Reply


Messages In This Thread
Visual "Exception User-Unhandled" on Unity 2022.1.17f1 - by bagelbaker - 07-11-2022, 03:36 PM