@brendanduncan_u3d hello!
WebGPU support of ASTC format seems broken in 6.2.10 - we’re getting multiple errors during startup:
The size ([Extent3D width:200, height:200, depthOrArrayLayers:1]) of the texture is not a multiple of the block width (6) and height (6) of the texture format (TextureFormat::ASTC6x6UnormSrgb).
- While validating [TextureDescriptor].
- While calling [Device].CreateTexture([TextureDescriptor]).
followed by
[Invalid BindGroup (unlabeled)] is invalid.
- While encoding [RenderPassEncoder (unlabeled)].SetBindGroup(0, [Invalid BindGroup (unlabeled)], 0, ...).
- While finishing [CommandEncoder (unlabeled)].
[Invalid CommandBuffer] is invalid.
- While calling [Queue].Submit([[Invalid CommandBuffer]])
The project runs pretty well with DXT or ETC override enabled, also we had no this issue with 6.1.
WebGL + 6.2 seems fine too.
I’m on mac os26 / m4 mac mini, both Google Chrome and Safari are affected.
I checked 6.2.14f1 and the error seems to have been fixed in that version. I was sure I had fixed that, just don’t remember which versions it landed it.
I did notice there’s a bug in the mip level generation for the texture, so I’ll have to get that bug fixed. If you disable mips for the texture you should be good for now (assuming you grab the latest 6.2 update).
@brendanduncan_u3d hi Brendan! Thanks for the update. Tested with the latest 6.2.15, no luck unfortunately, same errors for WebGPU / ASTC only. We will stick to ETC2 temporary as there’re too many places where mipmaps are enabled in the project.
Interesting you’re still getting the blocksize error. If you could send me a small repro I can make sure it’s working, since I didn’t see the error when I tested it.
any updates on this? I am trying to build my games using WebGPU and Unity 6000.3.0f1.
I am facing the same issue
Validation: The size ([Extent3D width:256, height:145, depthOrArrayLayers:1]) of the texture is not a multiple of the block width (6) and height (6) of the texture format (TextureFormat::ASTC6x6UnormSrgb).
I have a 6.3 backport that’s been sitting since before the holiday break, that I was just dusting off now. That is for mip levels of astc textures, where it was trying to declare the texture has more mip levels than it should, and the mip levels that had resolutions that are not block aligned would be uninitialized. I don’t know if that is the same issue you are seeing, I haven’t seen the problem I have a fix for generate that same error, even though it’s related. If you can send me a repo, or even better file a ticket with a repo, then I can make sure the issue you are seeing gets fixed.
Any updates on this?
I tried with Unity 6000.3.3f1 and Unity 6000.4.0b6, both result in
Validation: The size ([Extent3D width:256, height:128, depthOrArrayLayers:1]) of the texture is not a multiple of the block width (6) and height (6) of the texture format (TextureFormat::ASTC6x6Unorm).
- While validating [TextureDescriptor].
- While calling [Device].CreateTexture([TextureDescriptor]).