Texture2DArrayGenerator provides function or editor to make a Texture2DArray.
You can use Package Manager or import it directly.
https://github.com/XJINE/Unity_Texture2DArrayGenerator.git?path=Assets/Packages/Texture2DArrayGenerator
This project use following resources.
Texture2DArrayGenerator is quite simple. Pass some textures to Generate function.
And then, it returns Texture2DArray instance.
public static Texture2DArray Texture2DArrayGenerator.Generate(IList<Texture2D> textures)If you need Texture2DArray as pre-compiled asset. It can be made from CustomWindow.
Pass the textures to CustomWindow and press the Generate button.
Then, Texture2D asset will be generated in current Assets dir.
If you succeed in generate, a popup will be shown in CustomWindow. If you failed to generate, some error message will be shown in Console.
