can anyone help me fix this blank details panel in editor and no objects

I know it has been a while but I had this issue several times and found a workaround. If you change the parent class to something else and then change it back, it started appearing correctly for me