Unable to create a 'World Soft Object Reference' Variable in a struct

Only in 2024. It isn’t available in all previous engine versions: