GPU_SIMULATION and array command

Hi all! why is this code not working? At the same time, if you remove “#if GPU_SIMULATION”, then everything works. The emitter runs on the GPU, that is, sim target = GPUCompute Sim is set in the property. Or is working with arrays in niagara available only on the CPU?