UnmanagedBuffer returning null byte array

Well, I was going full speed until I hit a roadblock.

UnmanagedBuffer ub = new UnmanagedBuffer(0x22200);
byte[] x = ub.Bytes;

x = null - I do have the Extend Heap option enabled in TinyCLR Config. Can be replicated with a 100% clean application with just the above code.

I did not see any references to this in the release notes. Bug maybe? or did I miss something?

TinyCLR 2P6 - SC20260D REV-A

broken

Because it have extended the heap to use the entire memory. There is not unmanaged heap anymore.

Thanks Gus, I misunderstood the intent of the change.