Compacted acceleration structure size is expected to be non-zero. This error suggests that GPU readback synchronization is broken.

thank you very much I will try all of that and let you know