[Possible bug] variable not visible in blueprint

I am declaring a variable in c++ like this:

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Procedural") 
TArray< UStaticMeshComponent* > Trees;

The variable is only visible in the “data only” blueprint, but not the full one.
Is this intended or a bug?

I deleted the folder .vs, binaries, Intermediate, Saved and .sln

Run the .uproject of your project. You will get a message and the message is YES. Once the editor is opened in File-> generate visual studio project and its variable should appear. currently I also experienced that kind of bugs

This usually fixes many issues, sadly it’s not working here.

have you tried to show inherited variables?
This is how to do it:

Still not showing up.
I can only see it in the data only bp and when dropped into the level