EXCEPTION_ACCESS_VIOLATION UE-4.15.2-RELEASE 0x00000178

AMenu* newMenu;

UPROPERTY(EditAnywhere, Category = “Possible object”)
TSubclassOf menuOne;

newMenu = GetWorld()->SpawnActor(menuOne, posizione, FRotator(0, 90, 0), spawnParams);

after calling the function SpawnActor, newMenu is NULL ? do you have any suggestions ?