This version of Unity is unsupported.

Texture2DArray.allSlices

Switch to Manual
public static int allSlices;

Description

Read Only. This property is used as a parameter in some overloads of the CommandBuffer.Blit, Graphics.Blit, CommandBuffer.SetRenderTarget, and Graphics.SetRenderTarget methods to indicate that all texture array slices are bound. The value of this property is -1.