Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Got a IndexOutOfRangeException in CreateBlobAssetReference of BlobBuilder

$
0
0
When in Allocate method , size > m_chunkSize happen, m_currentChunkIndex is -1, then call CreateBlobAssetReference, I can got this IndexOutOfRangeException.
Code (CSharp):
  1.  
  2.         BlobDataRef Allocate(int size, int alignment)
  3.         {
  4.             if (size > m_chunkSize)
  5.             {
  6.                 size = CollectionHelper.Align(size, 16);
  7.                 var allocIndex = m_allocations.Length;
  8.                 var mem = (byte*)Memory.Unmanaged.Allocate(size, alignment, m_allocator);...
Got a IndexOutOfRangeException in CreateBlobAssetReference of BlobBuilder

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>