Scriptable Objects not working

So i tried to create a few scribtable objects but they dont even show up in the menu. can anyone help me?
my version is: 2022.3.41f1
my code is:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu]
public class WeaponScriptableObject : ScriptableObject
{
    public GameObject prefab;
    //Base stats for the weapon
    public float damage;
    public float speed;
    public float cooldownDuration;
    public int pierce;
}

Specify a path in the CreateAssetMenu attribute to make it easier to find.

Eg:

[CreateAssetMenu(menuName = "MyGame/Weapon")]

Make sure Unity has recompiled, and that you don’t have any compilation errors, too.