Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Burst errors
#3
(01-09-2023, 06:42 PM)SimonP Wrote: It is a syntax error in the script. Open NativeMultilevelGrid.cs in 74,46 and change "length" for "Length"
That solved that error.

I now have another issue with burst.  I am getting an error in ObiNativeList:
#if ENABLE_UNITY_COLLECTIONS_CHECKS
            // dispose of atomic safety handle:
            AtomicSafetyHandle.CheckDeallocateAndThrow(m_SafetyHandle);
            AtomicSafetyHandle.Release(m_SafetyHandle);
#endif


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 <10871f9e312b442cb78b9b97db88fdcb>:0
  at Obi.ObiNativeList`1[T].Dispose (System.Boolean disposing) [0x0003d] in F:\Unity Projects\Unity 2022\eSailSimulatorUnity_3.0\Assets\Plugins\Obi\Scripts\Common\DataStructures\NativeList\ObiNativeList.cs:110
  at Obi.ObiNativeList`1[T].Finalize () [0x00002] in F:\Unity Projects\Unity 2022\eSailSimulatorUnity_3.0\Assets\Plugins\Obi\Scripts\Common\DataStructures\NativeList\ObiNativeList.cs:90

After this I have tried adding the Jobs package as described here:

http://obi.virtualmethodstudio.com/manua...kends.html

However according to Unity Jobs is now included in Collections:
Changelog | Jobs | 0.70.0-preview.7 (unity3d.com)

In your backends documentation the options offered under Jobs menu are completely different.
Reply


Messages In This Thread
Burst errors - by redrag - 01-09-2023, 12:23 PM
RE: Burst errors - by SimonP - 01-09-2023, 06:42 PM
RE: Burst errors - by redrag - 18-09-2023, 12:47 PM
RE: Burst errors - by josemendez - 18-09-2023, 01:57 PM
RE: Burst errors - by redrag - 18-09-2023, 03:45 PM
RE: Burst errors - by josemendez - 19-09-2023, 08:45 AM
RE: Burst errors - by redrag - 25-09-2023, 11:29 AM
RE: Burst errors - by redrag - 26-09-2023, 02:49 PM
RE: Burst errors - by josemendez - 26-09-2023, 03:09 PM