the crosshair didn't appear after completing fps shooter tutorial

Hi I’m creating fps game by this tutorial https://docs.unrealengine.com/latest/INT/Programming/Tutorials/FirstPersonShooter/3/5/index.html
but after all steps the crosshair not appear

FPSHUD.h

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "GameFramework/HUD.h"
#include "FPSHUD.generated.h"

/**
 * 
 */
UCLASS()
class FPSPROJECT_API AFPSHUD : public AHUD
{
	GENERATED_BODY()
	
protected:
    // This will be drawn at the center of the screen.
    UPROPERTY(EditDefaultsOnly)
    UTexture2D* CrosshairTexture;
public:
    // Primary draw call for the HUD.
    virtual void DrawHUD() override;
	
};

FPSHUD.cpp

// Fill out your copyright notice in the Description page of Project Settings.

#include "FPSProject.h"
#include "FPSHUD.h"

void AFPSHUD::DrawHUD()
{
    Super::DrawHUD();
    
    if (CrosshairTexture)
    {
        // Find the center of our canvas.
        FVector2D Center(Canvas->ClipX * 0.5f, Canvas->ClipY * 0.5f);
        
        // Offset by half of the texture's dimensions so that the center of the texture aligns with the center of the Canvas.
        FVector2D CrossHairDrawPosition(Center.X - (CrosshairTexture->GetSurfaceWidth() * 0.5f), Center.Y - (CrosshairTexture->GetSurfaceHeight() * 0.5f));
        
        // Draw the crosshair at the centerpoint.
        FCanvasTileItem TileItem(CrossHairDrawPosition, CrosshairTexture->Resource, FLinearColor::White);
        TileItem.BlendMode = SE_BLEND_Translucent;
        Canvas->DrawItem(TileItem);
    }
}

Sorry for my bad english

Thanks SwagerBanana

Yes i did

So i tried to restart the ue4 editor and finally its working

Hey Swagerbanana,

Did you change the HUD Class in Project Settings>Maps & Modes?

I restarted it , and nothing different. Engine version 4.17, I really don’t know where i did wrong. I’ve been trying to find out the reason for hours!!!